Long time lurker; first time poster. I can say this board has helped me immeasurably fixing tons of little issues with HA.
Regarding this automation, I’ve gone through a handful of YouTube videos, and read a ton of posts.
I can’t figure out why this isn’t triggering.
The hope: When the inside temperature is above “x” degrees, and when the illuminance sensor is over “x” lux, close the blinds on windows.
I can manually trigger it, and it works correctly.
I’ve currently set the triggers low (70F and 1,000 lux), in an attempt to make it trigger, and watch a trace.
My Home thermostat is 73. It’s a cloudy day, and my luminance sensor is reporting between 5-6,500 lux. It’s reporting every 5 minutes; a Zigbee battery powered device. It should, in theory, trip.
I’ve even removed the “climate” trigger, and tried to isolate it to just lux. No triggering.
Here’s the YAML:
alias: New automation
description: “”
triggers:
First thing please format your code so it can be read.
next avoid using device id’s
And third search the forums and you will discover that doing triggers like that will only work when the value goes from below to above the set amount. it won’t trigger if the value is already above the set target.