homeassistant-config/pyscript/bad_luefter.py

4 lines
122 B
Python
Raw Permalink Normal View History

2023-01-03 20:43:26 +01:00
@state_trigger("switch.bad_luefter == 'on'", state_hold=60 * 15)
def luefter_auto_off():
switch.bad_luefter.turn_off()