Merge pull request #9 from seblucas/typo

Typo fix
This commit is contained in:
2017-06-02 23:40:21 +03:00
committed by GitHub
+1 -1
View File
@@ -63,7 +63,7 @@ class Mqtt:
topic = self.prefix + "/" + model + "/" + name + "/" + prop topic = self.prefix + "/" + model + "/" + name + "/" + prop
if command is not None: if command is not None:
topic += "/" + command topic += "/" + command
_LOGGER.info("Subscibing to " + topic + ".") _LOGGER.info("Subscribing to " + topic + ".")
self._client.subscribe(topic) self._client.subscribe(topic)
def publish(self, model, sid, data, retain=True): def publish(self, model, sid, data, retain=True):