You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new web configurator entities that don’t support the on_off or toggle feature and have no state attribute assigned because they are stateless an unavaliable state is shown in the integrations entites list and there's even a toggle button shown in the entity editor which seems to toggle a virtual state of the entity which the integration does not even notice.
As a workaround I've addded a state:on attribute to the entity definition which I didn't had to do with the old configurator before.
But after running the setup for the first time the entities are shown as off instead. Using the toogle button seem to then use the correct on state.
Maybe the state attributes and toggle button should not be shown at all if the entity is stateless and doesn’t support the on_off feature. As far as I know media player entities doesn’t even support the unavailable attribute and only On/Off.
How to Reproduce
Add a stateless media player entity as configured entity which has no attributes and doesn't support the on_off or toggle feature
Edit the entity and click on toggle
Expected behavior
Stateless entities should not have a state shown in the web configurator. The toggle button should only be shown if the entity state can be toggled or turned on/off.
System version
2.2.1
What part of the system affected by the problem?
Web Configurator
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Description
With the new web configurator entities that don’t support the on_off or toggle feature and have no state attribute assigned because they are stateless an unavaliable state is shown in the integrations entites list and there's even a toggle button shown in the entity editor which seems to toggle a virtual state of the entity which the integration does not even notice.
As a workaround I've addded a state:on attribute to the entity definition which I didn't had to do with the old configurator before.
But after running the setup for the first time the entities are shown as off instead. Using the toogle button seem to then use the correct on state.
Maybe the state attributes and toggle button should not be shown at all if the entity is stateless and doesn’t support the on_off feature. As far as I know media player entities doesn’t even support the unavailable attribute and only On/Off.
How to Reproduce
Expected behavior
Stateless entities should not have a state shown in the web configurator. The toggle button should only be shown if the entity state can be toggled or turned on/off.
System version
2.2.1
What part of the system affected by the problem?
Web Configurator
Additional context
No response
The text was updated successfully, but these errors were encountered: