From 0125f3e5fc143996f22a6f7e6d295116062f58cf Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Tue, 7 Jun 2022 20:01:43 +0300 Subject: [PATCH] sql_app: Add correct door mac Signed-off-by: HeshamTB --- sql_app/init_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql_app/init_db.py b/sql_app/init_db.py index 8a2c1c1..27857fa 100644 --- a/sql_app/init_db.py +++ b/sql_app/init_db.py @@ -47,7 +47,7 @@ def init_user(): res = crud.set_user_last_token(db, user.username, token) def init_door(): - iot_door = schemas.IotEntityCreate(bluetooth_mac="ff:ff:ff:ff", + iot_door = schemas.IotEntityCreate(bluetooth_mac="94:b9:7e:fb:57:1a", description="Iot Lab Door") door_exists = crud.get_iot_entity_by_bluetooth_mac(db, iot_door.bluetooth_mac) if door_exists: return