Skip to content

Commit

Permalink
Fix device_trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
SukramJ committed Dec 5, 2021
1 parent 0203492 commit babe8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hahm/device_trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def async_get_triggers(
CONF_PLATFORM: "device",
CONF_DOMAIN: DOMAIN,
CONF_DEVICE_ID: device_id,
CONF_EVENT_TYPE: action_event.event_type,
CONF_EVENT_TYPE: action_event.event_type.value,
}
trigger.update(action_event.get_event_data())
triggers.append(trigger)
Expand Down

0 comments on commit babe8e1

Please sign in to comment.