Add description of what caused an automation trigger to fire (#39251)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
5217139e0b
commit
e6141ae558
18 changed files with 119 additions and 35 deletions
|
@ -45,6 +45,7 @@ async def async_attach_trigger(hass, config, action, automation_info):
|
|||
"topic": mqttmsg.topic,
|
||||
"payload": mqttmsg.payload,
|
||||
"qos": mqttmsg.qos,
|
||||
"description": f"mqtt topic {mqttmsg.topic}",
|
||||
}
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue