diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-06-14 14:06:26 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-06-19 23:19:35 +0300 |
commit | e97f98e5e27a6df3827564cce594f27f18c89267 (patch) | |
tree | 0490a13b5df2d9e1fe9d5d6039401b234be99b01 /include/py/homekit/config | |
parent | 5d8e81b6c8fc7abe75188007c6a86bb501a314ad (diff) |
wip
Diffstat (limited to 'include/py/homekit/config')
-rw-r--r-- | include/py/homekit/config/_configs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/py/homekit/config/_configs.py b/include/py/homekit/config/_configs.py index 1628cba..f88c8ea 100644 --- a/include/py/homekit/config/_configs.py +++ b/include/py/homekit/config/_configs.py @@ -53,3 +53,9 @@ class LinuxBoardsConfig(ConfigUnit): }, } } + + def get_board_disks(self, name: str) -> list[dict]: + return self[name]['ext_hdd'] + + def get_board_disks_count(self, name: str) -> int: + return len(self[name]['ext_hdd']) |