homeassistant-config/pyscript/licht_wc.py

5 lines
95 B
Python
Raw Permalink Normal View History

2021-10-05 13:22:27 +02:00
@state_trigger("switch.wc_licht_taster == 'on'")
def wc_licht():
switch.wc_licht.toggle()