Skip to content

Commit

Permalink
removed duplicate preset on vrc700
Browse files Browse the repository at this point in the history
  • Loading branch information
signalkraft committed Feb 22, 2024
1 parent f3ae76b commit eb90a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mypyllant/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ async def async_set_temperature(self, **kwargs: Any) -> None:
@property
def preset_modes(self) -> list[str]:
if self.zone.control_identifier.is_vrc700:
return [k for k in ZONE_PRESET_MAP_VRC700.values()]
return list({v for v in ZONE_PRESET_MAP_VRC700.values()})
else:
return [k for k in ZONE_PRESET_MAP.keys()]

Expand Down

0 comments on commit eb90a96

Please sign in to comment.