From 9ef13f74d055ce23007cbff25105c86296718f23 Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Wed, 12 Jun 2019 13:40:50 +0200 Subject: [PATCH] gateway: #10 is Toyen --- gateway/gateway.py | 4 ++-- gateway/test_gateway.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gateway/gateway.py b/gateway/gateway.py index 7464f3e..f152310 100644 --- a/gateway/gateway.py +++ b/gateway/gateway.py @@ -240,13 +240,13 @@ def __init__(self, mqtt_prefix, bolt_sensor=False): 'sorenga-1': DoorInfo('doors/dlock-1', bolt_sensor=True), 'hotspare-1': DoorInfo('doors/dlock-2'), 'fubiak-1': DoorInfo('doors/dlock-3'), - 'deichman-toyen': DoorInfo('doors/dlock-4'), + 'unused-4': DoorInfo('doors/dlock-4'), 'origo-1': DoorInfo('doors/dlock-5'), 'origo-2': DoorInfo('doors/dlock-6'), 'lindeberg-1': DoorInfo('doors/dlock-7'), 'deichman-majorstuen': DoorInfo('doors/dlock-8'), 'loren-1': DoorInfo('doors/dlock-9', bolt_sensor=True), - 'unused-10': DoorInfo('doors/dlock-10'), + 'deichman-toyen': DoorInfo('doors/dlock-10'), 'deichman-stovner': DoorInfo('doors/dlock-11'), 'unused-12': DoorInfo('doors/dlock-12'), 'unused-13': DoorInfo('doors/dlock-13'), diff --git a/gateway/test_gateway.py b/gateway/test_gateway.py index 4737527..9d2a40e 100644 --- a/gateway/test_gateway.py +++ b/gateway/test_gateway.py @@ -226,7 +226,7 @@ def set_bolt_present(state : bool): 'deichman-majorstuen', 'loren-1', 'deichman-stovner', - 'unused-10', + 'unused-4', 'unused-12', 'unused-13', ]