Appdaemon - Better vacuum cleaner controls
This commit is contained in:
4
python_scripts/event.py
Normal file
4
python_scripts/event.py
Normal file
@@ -0,0 +1,4 @@
|
||||
ev = data.get('event', None)
|
||||
ev_data = data.get('data', {})
|
||||
if ev:
|
||||
hass.bus.fire(ev, ev_data)
|
||||
Reference in New Issue
Block a user