diff --git a/BridgeEmulator/flaskUI/v2restapi.py b/BridgeEmulator/flaskUI/v2restapi.py index 8655eaa12..370b37722 100644 --- a/BridgeEmulator/flaskUI/v2restapi.py +++ b/BridgeEmulator/flaskUI/v2restapi.py @@ -465,7 +465,8 @@ def post(self, resource): objCreation = { "id_v1": new_object_id, "name": postDict["name"], - "type": "geofence_client" + "type": "geofence_client", + "is_at_home": postDict.get("is_at_home", False) } newObject = HueObjects.GeofenceClient(objCreation) bridgeConfig["geofence_clients"][new_object_id] = newObject