Changed automations to pyscript
This commit is contained in:
4
pyscript/licht_wc.py
Normal file
4
pyscript/licht_wc.py
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
@state_trigger("switch.wc_licht_taster == 'on'")
|
||||
def wc_licht():
|
||||
switch.wc_licht.toggle()
|
||||
Reference in New Issue
Block a user