mirror of
https://github.com/skalavala/mysmarthome.git
synced 2025-08-19 11:38:22 +00:00
Back Alive!
This commit is contained in:
3
python_scripts/hello_world.py
Executable file
3
python_scripts/hello_world.py
Executable file
@@ -0,0 +1,3 @@
|
||||
name = data.get('name', 'world')
|
||||
logger.info("Hello {}".format(name))
|
||||
hass.bus.fire(name, { "wow": "from a Python script!" })
|
Reference in New Issue
Block a user