I want to have a base layer which is always on. This is so my room does not go into pitch black darkness when I restart HA, as that is uncomfortable and scary.
I tried doing this:
But obviously that didn't work, as templates are not supported. The main issue is when the integration is reloaded, because the layers are reevaluated then. I can see three solutions that would solve this conundrum:
- Evaluate any condition on startup, regardless of whether it's supported or not
- Add a toggle to define a layer as always-on
- Keep the layer state from when the integration was shut down, if that layer does not have any conditions or triggers.
I want to have a base layer which is always on. This is so my room does not go into pitch black darkness when I restart HA, as that is uncomfortable and scary.
I tried doing this:
But obviously that didn't work, as templates are not supported. The main issue is when the integration is reloaded, because the layers are reevaluated then. I can see three solutions that would solve this conundrum: