mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 08:05:06 +02:00
Fix merge conflict
This commit is contained in:
@@ -31,7 +31,7 @@ def async_trigger(hass, config, action):
|
|||||||
event_type = config.get(CONF_EVENT_TYPE)
|
event_type = config.get(CONF_EVENT_TYPE)
|
||||||
event_data_schema = vol.Schema(
|
event_data_schema = vol.Schema(
|
||||||
config.get(CONF_EVENT_DATA),
|
config.get(CONF_EVENT_DATA),
|
||||||
extra=vol.ALLOW_EXTRA)
|
extra=vol.ALLOW_EXTRA) if config.get(CONF_EVENT_DATA) else None
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def handle_event(event):
|
def handle_event(event):
|
||||||
|
Reference in New Issue
Block a user