From 820a260252bba4fd8df80d0ea688d510700079f7 Mon Sep 17 00:00:00 2001 From: tkdrob Date: Sat, 13 Feb 2021 06:07:42 -0500 Subject: [PATCH] Use core constants for homeassistant triggers (#46472) --- homeassistant/components/homeassistant/triggers/event.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/homeassistant/triggers/event.py b/homeassistant/components/homeassistant/triggers/event.py index 7665ee1b4d7..2bc42c3d063 100644 --- a/homeassistant/components/homeassistant/triggers/event.py +++ b/homeassistant/components/homeassistant/triggers/event.py @@ -1,14 +1,13 @@ """Offer event listening automation rules.""" import voluptuous as vol -from homeassistant.const import CONF_PLATFORM +from homeassistant.const import CONF_EVENT_DATA, CONF_PLATFORM from homeassistant.core import HassJob, callback from homeassistant.helpers import config_validation as cv, template # mypy: allow-untyped-defs CONF_EVENT_TYPE = "event_type" -CONF_EVENT_DATA = "event_data" CONF_EVENT_CONTEXT = "context" TRIGGER_SCHEMA = vol.Schema(