force lights to be off when offline #4435
Unanswered
Itstommy10
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
This is outside the scope of this integration. I think you need to create a template light, that links the switch to the smartswitch, and the other light controls to the actual light. Then hide the smart switch and the original light from the UI, and only interact with them through the template light. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @make-all , I'm writing to ask if there's a way to force the status of my light entities to "off" when they're "off."
I need this logic because, in addition to having smart lights, I also have smart switches, and I'd like to see the lights off instead of unavailable.
I'm a programmer, but I'm a bit new to developing integrations. I've tried modifying the available, is_on, refresh_state functions, but I always get "unavailable."
Could you help me? I know it's not the intended situation and logic, but I really need it.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions