Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 103068

Simple automation with script call did not work

$
0
0

I have an automation that calls a script as shown below.
I know the trigger works, because the action used to be to turn off the fan (switch.turn_off).
I wanted to add a delay and felt it was safer to have a delay in a script. But 10 minutes passed with no turn-off. I cannot see why this is not working.
Any thoughts are appreciated.

- alias: master humidity off
  trigger:
    - platform: numeric_state
      entity_id: sensor.master_shower_humidity
      below: 63
  action:
    - service: script.turn_on
      entity_id: master_humidity_off
master_humidity_off:
  description: "Turn off master bath" 
  sequence:
  - delay:
      minutes: 10
  - service: switch.turn_off
    entity_id: switch.master_bath

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 103068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>