diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-01-18 04:14:38 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-01-18 04:14:38 +0300 |
commit | d237e81873a9e043f579e7f6a979f00510ddce08 (patch) | |
tree | f17ed95a80e1c594b585a829888da1c74f59798b /include/py/homekit/config/config.py | |
parent | a9a241ad19449c29b68cd4a5b539bcbec816e341 (diff) |
lws: sms page rewrite
Diffstat (limited to 'include/py/homekit/config/config.py')
-rw-r--r-- | include/py/homekit/config/config.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/py/homekit/config/config.py b/include/py/homekit/config/config.py index eb2ad82..fec92a6 100644 --- a/include/py/homekit/config/config.py +++ b/include/py/homekit/config/config.py @@ -78,8 +78,14 @@ class BaseConfigUnit(ABC): raise KeyError(f'option {key} not found') - def getkeys(self): - return list(self._data.keys()) + def values(self): + return self._data.values() + + def keys(self): + return self._data.keys() + + def items(self): + return self._data.items() class ConfigUnit(BaseConfigUnit): |