mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-13 22:54:26 -04:00
Fix some stuff for hoover appliances
This commit is contained in:
parent
9ee5dbc956
commit
5db13a90e7
9 changed files with 31 additions and 19 deletions
|
@ -1,4 +1,4 @@
|
|||
from typing import Dict, Any
|
||||
from typing import Dict, Any, List
|
||||
|
||||
|
||||
class HonParameter:
|
||||
|
@ -17,6 +17,10 @@ class HonParameter:
|
|||
def value(self) -> str | float:
|
||||
return self._value if self._value is not None else "0"
|
||||
|
||||
@property
|
||||
def values(self) -> List[str]:
|
||||
return list(str(self.value))
|
||||
|
||||
@property
|
||||
def category(self) -> str:
|
||||
return self._category
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue