mirror of https://github.com/simbaja/ha_gehome.git
- missed one more property decorator
This commit is contained in:
parent
c4efb41956
commit
ce3d5abeb0
|
@ -8,6 +8,7 @@ from ..common import GeErdSelect, OptionsConverter
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
class FilterPositionOptionsConverter(OptionsConverter):
|
class FilterPositionOptionsConverter(OptionsConverter):
|
||||||
|
@property
|
||||||
def options(self) -> List[str]:
|
def options(self) -> List[str]:
|
||||||
return [i.name.title() for i in ErdWaterFilterPosition].remove("Unknown")
|
return [i.name.title() for i in ErdWaterFilterPosition].remove("Unknown")
|
||||||
def from_option_string(self, value: str) -> Any:
|
def from_option_string(self, value: str) -> Any:
|
||||||
|
|
Loading…
Reference in New Issue