Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lghorizon/lghorizon_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down