mysmarthome/python_scripts/hello_world.py
Mahasri Kalavala 862178bbb4 Alive Again!
2019-04-17 19:34:33 -04:00

4 lines
126 B
Python

name = data.get('name', 'world')
logger.info("Hello {}".format(name))
hass.bus.fire(name, { "wow": "from a Python script!" })