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 <doerfler.tobias@akdb.de> Co-authored-by: rospogrigio <49229287+rospogrigio@users.noreply.github.com>
This commit is contained in:
@@ -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