Skip to content

Commit

Permalink
Add is_hub property
Browse files Browse the repository at this point in the history
  • Loading branch information
starkillerOG committed Sep 25, 2024
1 parent 1096e4a commit 53c7636
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reolink_aio/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ def message_volume(self) -> int:
def is_nvr(self) -> bool:
return self._is_nvr

@property
def is_hub(self) -> bool:
return self._is_hub

@property
def nvr_name(self) -> str:
if not self._is_nvr and self._nvr_name == "":
Expand Down

0 comments on commit 53c7636

Please sign in to comment.