- switch.turn_on: ble_switch
- delay: 2min
- switch.turn_off: ble_switch
+
+ # Watchdog for 1wire sensors to bounce power when they fail.
- seconds: 0
minutes: /1
then:
# Turn them off and on again.
script.execute: bounce_1w_power
+ # Turn pool pump on at 7am and off at 7pm
+ - seconds: 0
+ minutes: 0
+ hours: 7
+ then:
+ - switch.turn_on: pool_pump
+ - seconds: 0
+ minutes: 0
+ hours: 19
+ then:
+ - switch.turn_off: pool_pump
+
+
ethernet:
type: LAN8720
mdc_pin: GPIO23