mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Fix overkiz bitwise operation (#82456)
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user