-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entities hidden by an integration cannot be disabled/enabled by a user #12887
Comments
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I would say that this issue is still valid. |
@zsarnett can you please help us understand the reasoning behind it? Or would you accept a PR changing this behavior? |
Just weighing in on this. An Integration can disable an entity, but this is meant to be fully under our control. If we decide we want to expose an entity, we should be allowed to do so. We always were allowed to re-enable entities until recently. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
I believe this is still relevant. |
Do you have any temporary solution? |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Bump |
@NickM-27 - are you sure this is still valid? I checked entity hidden by integration and it allows me to enable/disable it with the toggle. Suggest this to be closed unless you have a counterexample. |
This screenshot is missing the most important part which is the visibility switch. Not with my computer to test, can do that later next week |
Ok I understand what you mean now. Yes the visibility switch is still disabled. The PR title said you can't enable/disable the entity, so I was focused on the I was going to say that I didn't think the backend supported users overriding hidden by integration visibility, though just now I tried it on a chance and it did seem to take effect. I'll look into this a bit more and see if that's really possible or not. |
On inspection I can't see any reason why we would not allow user to override visibility for entity hidden by integration. It seems supported fine in the backend. I have rolled a fix for this into an existing PR I had for visibility settings. |
That's awesome 👌 |
Checklist
Describe the issue you are experiencing
When an integration has an entity that is hidden by default (e.g.):
The UI appears to not allow the user to enable (which presumable also unhides it) or disable it. Note how the controls are disabled in the below screenshot:
This appears to be intentional (source, written by @zsarnett ). It's unclear why this is desirable as effectively this means if an integration lists any entity as hidden, it can never be unhidden or disabled by the user via these controls -- but I suppose this could be WAI if integrations are not expected to hide entities that the user could subsequently unhide / enable / disable.
For my usecase (Frigate), allowing a user to disable entities is occasionally useful, so this would deter my usage of hidden entities at all.
Related PR: blakeblackshear/frigate-hass-integration#273
Describe the behavior you expected
The HA frontend should allow entities hidden by an integration to be disabled or unhidden.
Steps to reproduce the issue
hidden_by
for an entity registry entry tointegration
).Settings -> Devices & Services -> Entities Tab
Show hidden entities
is selected in the filter.Advanced Settings
expansion panel.Observe Enabled / Hidden / Disabled controls are all disabled.
What version of Home Assistant Core has the issue?
2022.7.0.dev20220604
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Google Chrome 101.0.4951.54 (Official Build) (64-bit)
Which operating system are you using to run this browser?
Ubuntu 20.04.3 LTS
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: