fix(common.py) - Change loglevel for missing device configuration from WARNING to DEBUG. (#1816)
Loglevel warning produces a huge amount of log messages (around 500000 a day - depends on how much tuya devices are in your local network). Co-authored-by: Tobias Dörfler <[email protected]> Co-authored-by: rospogrigio <[email protected]>
This commit is contained in:
co-authored by
Tobias Dörfler
rospogrigio
parent
6202c74e39
commit
12d40f81af
@@ -127,7 +127,7 @@ def async_config_entry_by_device_id(hass, device_id):
|
||||
if device_id in entry.data.get(CONF_DEVICES, []):
|
||||
return entry
|
||||
else:
|
||||
_LOGGER.warning(f"Missing device configuration for device_id {device_id}")
|
||||
_LOGGER.debug(f"Missing device configuration for device_id {device_id}")
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user