mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-14 02:34:53 +01:00
init
This commit is contained in:
5
hello_world.py
Normal file
5
hello_world.py
Normal file
@@ -0,0 +1,5 @@
|
||||
name = data.get("name", "world")
|
||||
logger.info("Hello %s", name)
|
||||
logger.error("Hello %s", name)
|
||||
logger.warning("Hello %s", name)
|
||||
hass.bus.fire(name, {"wow": "from a Python script!"})
|
||||
Reference in New Issue
Block a user