Adjusted log message

This commit is contained in:
Maximilian Giller 2022-03-15 21:57:06 +01:00
parent e8b1141152
commit a0896fc6e4

View file

@ -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: