From 0dcc852f1cfddbaf55e7ae939de4f10ec1807421 Mon Sep 17 00:00:00 2001 From: James Smith Date: Mon, 28 Oct 2024 13:33:05 -0700 Subject: [PATCH] Add 'AUTOMATION' to status subscriptions, hopefully fix OmniSensor value fetching --- src/aiovantage/controllers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiovantage/controllers/base.py b/src/aiovantage/controllers/base.py index 12fad20..5419846 100644 --- a/src/aiovantage/controllers/base.py +++ b/src/aiovantage/controllers/base.py @@ -206,7 +206,7 @@ async def subscribe_to_state_changes(self) -> None: if self.interface_status_types: # Subscribe to "object status" events from the Enhanced Log. self.event_stream.subscribe_enhanced_log( - self._handle_event, ("STATUS", "STATUSEX") + self._handle_event, ("STATUS", "STATUSEX", "AUTOMATION") ) self._subscribed_to_state_changes = True