Hi,
In my HA I have an entity called sensor.home_outdoor_illuminance
that gives the outside luminance (for instance 960lx) based on weather and sun elevation. I would like to make an automation to turn on lights that triggers when the value of the sensor drops below a certain level. I believe I need a value template in order to achieve this, but I’m unsure how to write this correctly. Any help is appreciated!