From 18677a31c5973bac08f0f82058d4c2b7c9f2e50d Mon Sep 17 00:00:00 2001 From: Rudolf Offereins Date: Thu, 5 Feb 2026 20:43:43 +0000 Subject: [PATCH] Expose cloud recording --- lghorizon/lghorizon_api.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lghorizon/lghorizon_api.py b/lghorizon/lghorizon_api.py index db75036..ed29f93 100644 --- a/lghorizon/lghorizon_api.py +++ b/lghorizon/lghorizon_api.py @@ -94,6 +94,14 @@ async def get_profiles(self) -> dict[str, LGHorizonProfile]: return self._customer.profiles + @property + async def has_cloud_recording(self) -> bool: + """Get profile IDs.""" + if not self._initialized: + raise RuntimeError("LGHorizonApi not initialized") + + return self._customer.has_cloud_recording + async def get_profile_channels( self, profile_id: Optional[str] = None ) -> Dict[str, LGHorizonChannel]: