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
I want to show a module with open windows. But I only want to show the ones that are actually open and hide the module entirely if none of them are open.
The controlsensor variable lets me do that and it works nicely. I just have a question how to set the controlsensorvalue to >0 (so it shows if 1 or more windows are open). I tried things like this
Hi, I have not been developing this module for some time... :)
However, I just re-wrote the "get ha sensors-code"...
If you checkout the "dev" branch, I have moved down the "control-sensor" to the "values-array"... But I'm not sure if that helps your case. I think the easiest way to solve this is to make a "helper" sensor in HA that is set to "1" as long as any window is open.. :)
I want to show a module with open windows. But I only want to show the ones that are actually open and hide the module entirely if none of them are open.
The controlsensor variable lets me do that and it works nicely. I just have a question how to set the controlsensorvalue to >0 (so it shows if 1 or more windows are open). I tried things like this
controlsensor: "sensor.doors_windows_open",
controlsensorvalue: ">0",
But it won't let me do that. It only works if I put an exact number. How can I do that?
Thanks
The text was updated successfully, but these errors were encountered: