From f265dd81ef661ce00cd82840fbcff201ea71dce2 Mon Sep 17 00:00:00 2001 From: Ben Greiner Date: Fri, 3 Jan 2025 22:48:55 +0100 Subject: [PATCH] Fix typo in debug logging --- weconnect_mqtt/weconnect_mqtt_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weconnect_mqtt/weconnect_mqtt_base.py b/weconnect_mqtt/weconnect_mqtt_base.py index a15c421..a13468f 100644 --- a/weconnect_mqtt/weconnect_mqtt_base.py +++ b/weconnect_mqtt/weconnect_mqtt_base.py @@ -540,7 +540,7 @@ def onWeConnectEvent(self, element, flags): # noqa: C901 LOG.debug('%s%s, value changed: new value is: %s', self.prefix, element.getGlobalAddress(), convertedValue) self.publish(topic=f'{self.prefix}{element.getGlobalAddress()}', qos=1, retain=True, payload=convertedValue) elif flags & addressable.AddressableLeaf.ObserverEvent.DISABLED: - LOG.debug('%s%s, value is diabled', self.prefix, element.getGlobalAddress()) + LOG.debug('%s%s, value is disabled', self.prefix, element.getGlobalAddress()) self.publish(topic=f'{self.prefix}{element.getGlobalAddress()}', qos=1, retain=True, payload='') def convertValue(self, value):