Fix broken deconz trigger (#28211)

pull/28063/head
Erik Montnemery 2019-10-26 04:40:05 +08:00 committed by Paulus Schoutsen
parent da8a476142
commit f4341c1546
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ async def async_attach_trigger(hass, config, action, automation_info):
event_id = deconz_event.serial event_id = deconz_event.serial
event_config = { event_config = {
event.CONF_PLATFORM: "event",
event.CONF_EVENT_TYPE: CONF_DECONZ_EVENT, event.CONF_EVENT_TYPE: CONF_DECONZ_EVENT,
event.CONF_EVENT_DATA: {CONF_UNIQUE_ID: event_id, CONF_EVENT: trigger}, event.CONF_EVENT_DATA: {CONF_UNIQUE_ID: event_id, CONF_EVENT: trigger},
} }