this post was submitted on 07 Jan 2026
103 points (100.0% liked)

homeassistant

17433 readers
15 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] thehatfox@lemmy.world 9 points 3 days ago (1 children)

A proper permissions system for entities has long been one of my most desired features for Home Assistant. It should be possible to set visibility and control for each entity and user.

Trying to do control access via dashboards as always seems the wrong way around to me.

[โ€“] Lyra_Lycan@lemmy.blahaj.zone 5 points 2 days ago* (last edited 2 days ago) (1 children)

For me I've experimented with restricted cards. For example, I have essentially a collapsed menu of controls for my PC, accessible only when a switch is toggled on, and the card with the switch is only visible to me.

    - type: conditional
      conditions:
        - condition: user
          users:
            - 9ecc550a1dc14e0a98071750a1673abc
      card:
        type: entities
        entities:
          - entity: switch.pc_admin_controls
            toggle: true
    - type: conditional
      conditions:
        - entity: switch.pc_admin_controls
          state_not: "off"
      card:
        type: grid
        columns: 4


(Ignore that I haven't fixed the yellow warning entities yet lol)

[โ€“] ikidd@lemmy.world 1 points 2 days ago (2 children)

That's a good solution. What is your PC controls yaml if it isn't too private?

[โ€“] Lyra_Lycan@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago)

But sorry, did you mean the whole controls/sensors section?

[โ€“] Lyra_Lycan@lemmy.blahaj.zone 1 points 2 days ago* (last edited 2 days ago) (1 children)

Sorry, that would help wouldn't it aha
In templatesensors.yaml:

  - switch:
      unique_id: pc_admin_controls
      name: Admin Controls
      icon: mdi:shield-crown-outline
      turn_on: []
      turn_off: []

I made it a while ago. I believe it could also be made in helpers UI now, in Settings > Devices and Services > Helpers > Create Helper > Toggle, and setting a name and icon, and saving. It'll be input_boolean.switch_name and is functionally the same, as my conditional cards do the actions

[โ€“] ikidd@lemmy.world 2 points 2 days ago (2 children)

I was just curious what functions you were running on the PC that you wanted to control via HA.

I used to use Has Agent, now I have LNXlink, which had quick buttons for lock, log out, ctrl-F4 and alt-F4, and power controls. I also have media player functions for watching stuff and controlling from the couch. I tried to share yaml but I think it bypassed a comment limit