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:
Tobias Dörfler
2025-01-14 11:26:26 +01:00
committed by GitHub
parent 6202c74e39
commit 12d40f81af

View File

@@ -127,7 +127,7 @@ def async_config_entry_by_device_id(hass, device_id):
if device_id in entry.data.get(CONF_DEVICES, []): if device_id in entry.data.get(CONF_DEVICES, []):
return entry return entry
else: 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 return None