From 9bd18ce14d9bde896a9fa639220335eb913a4113 Mon Sep 17 00:00:00 2001 From: Sanjoy Ghosh Date: Thu, 18 Apr 2024 22:16:07 +0530 Subject: [PATCH] Included "isOn" hub event processing for motion sensor --- custom_components/dirigera_platform/hub_event_listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/dirigera_platform/hub_event_listener.py b/custom_components/dirigera_platform/hub_event_listener.py index ddde06a..340effa 100644 --- a/custom_components/dirigera_platform/hub_event_listener.py +++ b/custom_components/dirigera_platform/hub_event_listener.py @@ -12,7 +12,7 @@ logger = logging.getLogger("custom_components.dirigera_platform") process_events_from = { - "motionSensor" : ["isDetected"], + "motionSensor" : ["isDetected","isOn"], "outlet" : ["isOn"], "light" : ["isOn"], "openCloseSensor" : ["isOpen"]