mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Remove setting log level of dsmr_parser inside dsmr integration (#43059)
This commit is contained in:
parent
b1c78554f2
commit
1fe93b4ec9
@ -71,9 +71,6 @@ async def async_setup_entry(
|
|||||||
hass: HomeAssistantType, entry: ConfigEntry, async_add_entities
|
hass: HomeAssistantType, entry: ConfigEntry, async_add_entities
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Set up the DSMR sensor."""
|
"""Set up the DSMR sensor."""
|
||||||
# Suppress logging
|
|
||||||
logging.getLogger("dsmr_parser").setLevel(logging.ERROR)
|
|
||||||
|
|
||||||
config = entry.data
|
config = entry.data
|
||||||
|
|
||||||
dsmr_version = config[CONF_DSMR_VERSION]
|
dsmr_version = config[CONF_DSMR_VERSION]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user