Garage Automation help

Hey All,

I had a automation running before the Tuya update and it was working just fine. Now since I upgraded, it does not want to work anymore. It is a Smartlife bulb that i want to shut off automatically after 5 minutes in the garage. I am not sure If it is a problem with the State? or was it the Tuya update? Any help is greatly appreciated:



Thanks so much, I am probably doing smething stupid

  • id: stairsoff after 30sec
    alias: stairs off after 30 sec
    • entity_id:
      platform: state
      to: β€˜on’
    • delay: 00:00:30
    • data:
      • switch.espurna_xxx
        service: homeassistant.turn_off
1 Like

That worked thank you so much!