From 8a2ed721ee88a5af8976883ec7e605cfc17f68d1 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Thu, 5 Dec 2024 15:57:38 +0100 Subject: [PATCH] De-nest get_alarm_configure in fake protocol --- tests/fakeprotocol_smart.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/fakeprotocol_smart.py b/tests/fakeprotocol_smart.py index c6a29019..7dbfefac 100644 --- a/tests/fakeprotocol_smart.py +++ b/tests/fakeprotocol_smart.py @@ -121,11 +121,9 @@ class FakeSmartTransport(BaseTransport): "get_alarm_configure": ( "alarm", { - "get_alarm_configure": { - "duration": 10, - "type": "Doorbell Ring 2", - "volume": "low", - } + "duration": 10, + "type": "Doorbell Ring 2", + "volume": "low", }, ), "get_support_alarm_type_list": (