mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix ImportError when discovery deps change (#66518)
This commit is contained in:
parent
fec8c2ab82
commit
9691128e96
@ -59,7 +59,7 @@ COOLDOWN_TIME = 60
|
|||||||
MAX_LOAD_CONCURRENTLY = 6
|
MAX_LOAD_CONCURRENTLY = 6
|
||||||
|
|
||||||
DEBUGGER_INTEGRATIONS = {"debugpy"}
|
DEBUGGER_INTEGRATIONS = {"debugpy"}
|
||||||
CORE_INTEGRATIONS = ("homeassistant", "persistent_notification")
|
CORE_INTEGRATIONS = {"homeassistant", "persistent_notification"}
|
||||||
LOGGING_INTEGRATIONS = {
|
LOGGING_INTEGRATIONS = {
|
||||||
# Set log levels
|
# Set log levels
|
||||||
"logger",
|
"logger",
|
||||||
@ -69,7 +69,14 @@ LOGGING_INTEGRATIONS = {
|
|||||||
# To record data
|
# To record data
|
||||||
"recorder",
|
"recorder",
|
||||||
}
|
}
|
||||||
|
DISCOVERY_INTEGRATIONS = ("dhcp", "ssdp", "usb", "zeroconf")
|
||||||
STAGE_1_INTEGRATIONS = {
|
STAGE_1_INTEGRATIONS = {
|
||||||
|
# We need to make sure discovery integrations
|
||||||
|
# update their deps before stage 2 integrations
|
||||||
|
# load them inadvertently before their deps have
|
||||||
|
# been updated which leads to using an old version
|
||||||
|
# of the dep, or worse (import errors).
|
||||||
|
*DISCOVERY_INTEGRATIONS,
|
||||||
# To make sure we forward data to other instances
|
# To make sure we forward data to other instances
|
||||||
"mqtt_eventstream",
|
"mqtt_eventstream",
|
||||||
# To provide account link implementations
|
# To provide account link implementations
|
||||||
|
Loading…
x
Reference in New Issue
Block a user