Hi,
I have this weird problem.
This does not trigger automation (event fired from the custom component)
2017-07-30 22:15:10 INFO (MainThread) [homeassistant.core] Bus:Handling <Event dcz_event[L]: id=1, button=1002>
and this triggers (made locally with the HASS UI in events)
2017-07-30 22:15:15 INFO (MainThread) [homeassistant.core] Bus:Handling <Event dcz_event[R]: id=1, button=1002>
what could the reason be to this ?
Here is the automation :
- alias: "Trigger based on event"
initial_state: true
trigger:
platform: event
event_type: dcz_event
event_data:
id: "1"
button: "1002"
action:
service: notify.notify
data:
message: An event from dcz
When i fire manually within the UI i used this payload :
event_type: dcz_event
event data: {“id”:“1”,“button”:“1002”}
and it makes the above log in the log and the automation works.
Very weird, i must be missing something.