Nice one.
I never say never and love hearing any suggestions as this promotes development. A few people have asked for this so I will also add your name next to the feature request. For now we will need to create a template binary sensor helper that will invert it.
To create a Template binary sensor, follow these steps:
- Navigate to Settings > Device & Services > Helpers tab at the top.
- Click the Create helper button.
- Select Template and then choose Template a binary sensor.
Next, provide a Name and Device class of your choice. If applicable, you can link this template to an existing device so it appears under that deviceās details.
In the State template field, add the code below, replacing binary_sensor.your_sensor_here
with your entity ID.
{{ is_state('binary_sensor.your_sensor_here', 'off') }}
Have you looked at āDynamic Lightingā in the blueprint?
Blacky