Readme change

This commit is contained in:
raspberry
2018-02-22 09:03:19 +03:00
parent 04169ffe4e
commit fadd23e8cd
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ def read_motion_data(gateway, client, polling_interval, polling_models, stop_eve
data = json.loads(sensor_resp['data'])
state = data.get("status", None)
short_id = sensor_resp['short_id']
if ( device['data'] != data or first):
if device['data'] != data or first:
device['data'] = data
_LOGGER.debug("Polling result differs for " + str(model) + " with sid(First: " + str(first) + "): " + str(sid) + "; " + str(data))
client.publish(model, sid, data)