#Hi guys, please can you help me

1 messages · Page 1 of 1 (latest)

gloomy coyote
#

I want to create a home assistant automation to turn on a switch when motion is detected, then create a loop to check every 10 minutes to see if the CO2 level is below 450 ppm, if true turn off the light

elfin temple
#

create a loop to check every 10 minutes to see if the CO2 level is below 450 ppm, if true turn off the light
This approach is common with newer folks, but not ideal

#

Just use an automation with a numeric_state trigger based on the CO2 level

#

no need for a loop or checking every x minutes

gloomy coyote
#

Thanks I got it working with the wait command