Fix overkiz bitwise operation (#82456)

This commit is contained in:
epenet 2022-11-21 08:53:52 +01:00 committed by GitHub
parent 33e57c2e24
commit 914384578e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ class AtlanticElectricalTowelDryer(OverkizEntity, ClimateEntity):
# 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):
self._attr_supported_features += ClimateEntityFeature.PRESET_MODE
self._attr_supported_features |= ClimateEntityFeature.PRESET_MODE
@property
def hvac_mode(self) -> str: