From a0896fc6e466816c8b7934a6902840c1bb05113d Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Tue, 15 Mar 2022 21:57:06 +0100 Subject: [PATCH] Adjusted log message --- src/philips_hue_counter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/philips_hue_counter.py b/src/philips_hue_counter.py index de39bcd..e97a1e2 100644 --- a/src/philips_hue_counter.py +++ b/src/philips_hue_counter.py @@ -39,11 +39,12 @@ def change_cb(countChange: int, directionState: Dict): directionState (Dict): Object describing the internal state of the sensor. """ data = { + 'version': 'v0.0', 'previousPeopleCount': peopleCount, 'countChange': countChange, 'directionState': directionState, 'dateTime': datetime.now(), - 'earlyLightState': motion_triggered_lights + 'motionTriggeredLights': motion_triggered_lights } try: