sql_app: door: send actual access_list_counter instead of 0
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
0125f3e5fc
commit
b790c6657a
@ -298,7 +298,7 @@ def polling_method_for_iot_entity(request: schemas.IotDoorPollingRequest,
|
|||||||
|
|
||||||
response : schemas.IotDoorPollingResponse = schemas.IotDoorPollingResponse(
|
response : schemas.IotDoorPollingResponse = schemas.IotDoorPollingResponse(
|
||||||
open_command=device.open_request,
|
open_command=device.open_request,
|
||||||
acces_list_counter=0,
|
acces_list_counter=device.acces_list_counter,
|
||||||
time_seconds=device.time_seconds,
|
time_seconds=device.time_seconds,
|
||||||
force_close=device.force_close)
|
force_close=device.force_close)
|
||||||
# Reset open_request to False
|
# Reset open_request to False
|
||||||
|
Loading…
Reference in New Issue
Block a user