Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Huawei LTE logging related tweaks #79854

Merged
merged 2 commits into from Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions homeassistant/components/huawei_lte/__init__.py
Expand Up @@ -490,10 +490,6 @@ async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry) ->
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up Huawei LTE component."""

# dicttoxml (used by huawei-lte-api) has uselessly verbose INFO level.
# https://github.com/quandyfactory/dicttoxml/issues/60
rytilahti marked this conversation as resolved.
Show resolved Hide resolved
logging.getLogger("dicttoxml").setLevel(logging.WARNING)

if DOMAIN not in hass.data:
hass.data[DOMAIN] = HuaweiLteData(hass_config=config, routers={})

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/huawei_lte/manifest.json
Expand Up @@ -16,5 +16,5 @@
],
"codeowners": ["@scop", "@fphammerle"],
"iot_class": "local_polling",
"loggers": ["huawei_lte_api"]
"loggers": ["huawei_lte_api.Session"]
}