mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Fix overkiz bitwise operation (#82456)
This commit is contained in:
parent
33e57c2e24
commit
914384578e
@ -57,7 +57,7 @@ class AtlanticElectricalTowelDryer(OverkizEntity, ClimateEntity):
|
|||||||
|
|
||||||
# Not all AtlanticElectricalTowelDryer models support presets, thus we need to check if the command is available
|
# Not all AtlanticElectricalTowelDryer models support presets, thus we need to check if the command is available
|
||||||
if self.executor.has_command(OverkizCommand.SET_TOWEL_DRYER_TEMPORARY_STATE):
|
if self.executor.has_command(OverkizCommand.SET_TOWEL_DRYER_TEMPORARY_STATE):
|
||||||
self._attr_supported_features += ClimateEntityFeature.PRESET_MODE
|
self._attr_supported_features |= ClimateEntityFeature.PRESET_MODE
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def hvac_mode(self) -> str:
|
def hvac_mode(self) -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user