mirror of
https://gitlab.sectorq.eu/jaydee/python.git
synced 2025-12-13 18:24:53 +01:00
5 lines
180 B
Python
5 lines
180 B
Python
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!"}) |