Virtual Sensor Switch On/Off only for status not for activation
Posted: Friday 07 January 2022 12:02
Is it possible to show a "On" or Off" status without the possibility to operate the virtual sensor?
For example when I use a virtual switch you can operate it but that is not the idea. It's only for presenting the status. I tried to use the protected option but in that case a Lua script can't change it either.
or when I use a virtual sensor - text. it's possible to show the "on" or Off" status. But in that case You don't see an icon change when activated.
What do you use to overcome this?
For example when I use a virtual switch you can operate it but that is not the idea. It's only for presenting the status. I tried to use the protected option but in that case a Lua script can't change it either.
or when I use a virtual sensor - text. it's possible to show the "on" or Off" status. But in that case You don't see an icon change when activated.
What do you use to overcome this?