output:
- platform: gpio
pin: 25
id: 'generic_out'
lock:
- platform: output
name: "Generic Output"
output: 'generic_out'
on_lock:
- delay: 5s
- output.turn_on: generic_out
output:
- platform: gpio
pin: 25
id: 'generic_out'
lock:
- platform: output
name: "Generic Output"
output: 'generic_out'
on_unlock:
- delay: 5s
- output.turn_on: generic_out
这样试过也是无效,没起到复位的作用。 |