sql_app: correct monitor mac
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
21d72f17b2
commit
6ae5b811f4
@ -55,7 +55,7 @@ def init_door():
|
|||||||
crud.create_iot_entity(db, iot_door)
|
crud.create_iot_entity(db, iot_door)
|
||||||
|
|
||||||
def init_monitor():
|
def init_monitor():
|
||||||
iot_monitor = schemas.IotEntityCreate(bluetooth_mac="ff:ff:00:ff",
|
iot_monitor = schemas.IotEntityCreate(bluetooth_mac="ff:ff:ff",
|
||||||
description="Iot Lab Monitor")
|
description="Iot Lab Monitor")
|
||||||
monitor_exists = crud.get_monitor_bluetooth(db, iot_monitor.bluetooth_mac)
|
monitor_exists = crud.get_monitor_bluetooth(db, iot_monitor.bluetooth_mac)
|
||||||
if monitor_exists: return
|
if monitor_exists: return
|
||||||
|
Loading…
Reference in New Issue
Block a user