Skip to content

Commit

Permalink
- fixed advantium operation list (hopefully resolves #34)
Browse files Browse the repository at this point in the history
  • Loading branch information
simbaja committed Aug 20, 2021
1 parent e0a19f8 commit e9d15b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion custom_components/ge_home/entities/advantium/ge_advantium.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@ def operation_list(self) -> List[str]:
if not self._remote_config.warm_enable:
invalid.append(CookMode.WARM)

return [v for _, v in ADVANTIUM_OPERATION_MODE_COOK_SETTING_MAPPING.items() if v.cook_mode not in invalid]
return [(
k.stringify()
for k, v in ADVANTIUM_OPERATION_MODE_COOK_SETTING_MAPPING.items()
if v.cook_mode not in invalid)]

@property
def current_cook_setting(self) -> ErdAdvantiumCookSetting:
Expand Down

0 comments on commit e9d15b2

Please sign in to comment.