Adjusted log message
This commit is contained in:
parent
e8b1141152
commit
a0896fc6e4
1 changed files with 2 additions and 1 deletions
|
@ -39,11 +39,12 @@ def change_cb(countChange: int, directionState: Dict):
|
||||||
directionState (Dict): Object describing the internal state of the sensor.
|
directionState (Dict): Object describing the internal state of the sensor.
|
||||||
"""
|
"""
|
||||||
data = {
|
data = {
|
||||||
|
'version': 'v0.0',
|
||||||
'previousPeopleCount': peopleCount,
|
'previousPeopleCount': peopleCount,
|
||||||
'countChange': countChange,
|
'countChange': countChange,
|
||||||
'directionState': directionState,
|
'directionState': directionState,
|
||||||
'dateTime': datetime.now(),
|
'dateTime': datetime.now(),
|
||||||
'earlyLightState': motion_triggered_lights
|
'motionTriggeredLights': motion_triggered_lights
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue