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
Describe the bug
This integration has a sensor that collects data from HA: core/homeassistant/const.py at dev · home-assistant/core · GitHub
for example strings “off” and “on”.
But on UI I always see “Off” and “On”.
And now, when I try use any logic (for example card visibilty) based on this sensor I have big problem.
Instead of using a “On” that I see everywhere on HA, i need to use “on”.
I only know this because I looked at the code.
A normal user won’t know why it doesn’t work for him (when use “On”).
Describe the bug
This integration has a sensor that collects data from HA: core/homeassistant/const.py at dev · home-assistant/core · GitHub
for example strings “off” and “on”.
But on UI I always see “Off” and “On”.
And now, when I try use any logic (for example card visibilty) based on this sensor I have big problem.
Instead of using a “On” that I see everywhere on HA, i need to use “on”.
I only know this because I looked at the code.
A normal user won’t know why it doesn’t work for him (when use “On”).
And this sensor is typical on/off - binary.
https://github.com/ollo69/ha-smartthinq-sensors/blob/master/custom_components/smartthinq_sensors/device_helpers.py#L114
Screenshots
Environment details:
The text was updated successfully, but these errors were encountered: