[switch.tplink] Demoted log trace for missing current_consumption property from warning to debug

This commit is contained in:
Fabio Manganiello 2024-10-14 18:22:08 +02:00
parent c605a65bf1
commit e3e3638ffe
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -189,7 +189,7 @@ class SwitchTplinkPlugin(RunnablePlugin, SwitchEntityManager):
try: try:
return device.current_consumption() return device.current_consumption()
except SmartDeviceException as e: except SmartDeviceException as e:
self.logger.warning( self.logger.debug(
'Could not retrieve current consumption for device %s: %s', 'Could not retrieve current consumption for device %s: %s',
device.host, device.host,
e, e,