another type mismatch in config
This commit is contained in:
parent
3d97536b9b
commit
8120df60ac
@ -15,7 +15,7 @@ class MqttCoilSubscriber(AbstractMqttPublisher):
|
||||
|
||||
def localLoop(self):
|
||||
while True:
|
||||
sleep(self.config["analogInputPublishPeriod"])
|
||||
sleep(float(self.config["analogInputPublishPeriod"]))
|
||||
|
||||
def onMessage(self, topic, payload):
|
||||
logger.warning("mqtt message received: {} -> {}".format(topic, str(payload)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user