mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 23:55:07 +02:00
Fix logger name (#38866)
This commit is contained in:
@@ -95,7 +95,7 @@ async def async_setup(hass: HomeAssistantType, config: ConfigType) -> bool:
|
|||||||
|
|
||||||
storage_collection = InputBooleanStorageCollection(
|
storage_collection = InputBooleanStorageCollection(
|
||||||
Store(hass, STORAGE_VERSION, STORAGE_KEY),
|
Store(hass, STORAGE_VERSION, STORAGE_KEY),
|
||||||
logging.getLogger(f"{__name__}_storage_collection"),
|
logging.getLogger(f"{__name__}.storage_collection"),
|
||||||
id_manager,
|
id_manager,
|
||||||
)
|
)
|
||||||
collection.attach_entity_component_collection(
|
collection.attach_entity_component_collection(
|
||||||
|
@@ -95,7 +95,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
|
|||||||
id_manager = TagIDManager()
|
id_manager = TagIDManager()
|
||||||
hass.data[DOMAIN][TAGS] = storage_collection = TagStorageCollection(
|
hass.data[DOMAIN][TAGS] = storage_collection = TagStorageCollection(
|
||||||
Store(hass, STORAGE_VERSION, STORAGE_KEY),
|
Store(hass, STORAGE_VERSION, STORAGE_KEY),
|
||||||
logging.getLogger(f"{__name__}_storage_collection"),
|
logging.getLogger(f"{__name__}.storage_collection"),
|
||||||
id_manager,
|
id_manager,
|
||||||
)
|
)
|
||||||
await storage_collection.async_load()
|
await storage_collection.async_load()
|
||||||
|
@@ -188,7 +188,7 @@ async def async_setup(hass: HomeAssistant, config: Dict) -> bool:
|
|||||||
|
|
||||||
storage_collection = ZoneStorageCollection(
|
storage_collection = ZoneStorageCollection(
|
||||||
storage.Store(hass, STORAGE_VERSION, STORAGE_KEY),
|
storage.Store(hass, STORAGE_VERSION, STORAGE_KEY),
|
||||||
logging.getLogger(f"{__name__}_storage_collection"),
|
logging.getLogger(f"{__name__}.storage_collection"),
|
||||||
id_manager,
|
id_manager,
|
||||||
)
|
)
|
||||||
collection.attach_entity_component_collection(
|
collection.attach_entity_component_collection(
|
||||||
|
Reference in New Issue
Block a user