mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Fix topic string
This commit is contained in:
@@ -64,7 +64,7 @@ while True:
|
||||
|
||||
device.last_status = pin_status
|
||||
|
||||
info = client.publish("device-status/" % (device.name), str(pin_status), 1)
|
||||
info = client.publish("device-status/%s" % (device.name), str(pin_status), 1)
|
||||
|
||||
info.wait_for_publish()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user