forked from home-assistant/core
Allow core config updated (#26398)
This commit is contained in:
@@ -8,6 +8,7 @@ from homeassistant.const import (
|
|||||||
EVENT_SERVICE_REMOVED,
|
EVENT_SERVICE_REMOVED,
|
||||||
EVENT_STATE_CHANGED,
|
EVENT_STATE_CHANGED,
|
||||||
EVENT_THEMES_UPDATED,
|
EVENT_THEMES_UPDATED,
|
||||||
|
EVENT_CORE_CONFIG_UPDATE,
|
||||||
)
|
)
|
||||||
from homeassistant.components.persistent_notification import (
|
from homeassistant.components.persistent_notification import (
|
||||||
EVENT_PERSISTENT_NOTIFICATIONS_UPDATED,
|
EVENT_PERSISTENT_NOTIFICATIONS_UPDATED,
|
||||||
@@ -22,6 +23,7 @@ from homeassistant.components.frontend import EVENT_PANELS_UPDATED
|
|||||||
# Except for state_changed, which is handled accordingly.
|
# Except for state_changed, which is handled accordingly.
|
||||||
SUBSCRIBE_WHITELIST = {
|
SUBSCRIBE_WHITELIST = {
|
||||||
EVENT_COMPONENT_LOADED,
|
EVENT_COMPONENT_LOADED,
|
||||||
|
EVENT_CORE_CONFIG_UPDATE,
|
||||||
EVENT_PANELS_UPDATED,
|
EVENT_PANELS_UPDATED,
|
||||||
EVENT_PERSISTENT_NOTIFICATIONS_UPDATED,
|
EVENT_PERSISTENT_NOTIFICATIONS_UPDATED,
|
||||||
EVENT_SERVICE_REGISTERED,
|
EVENT_SERVICE_REGISTERED,
|
||||||
|
Reference in New Issue
Block a user