Correctly set property decorator on preset modes (#25151)
This commit is contained in:
parent
5abe4dd1f7
commit
c03d5f1a73
1 changed files with 1 additions and 0 deletions
|
@ -135,6 +135,7 @@ class FritzboxThermostat(ClimateDevice):
|
|||
if self._target_temperature == self._eco_temperature:
|
||||
return PRESET_ECO
|
||||
|
||||
@property
|
||||
def preset_modes(self):
|
||||
"""Return supported preset modes."""
|
||||
return [PRESET_ECO, PRESET_COMFORT]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue