mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add new climate feature flags to duotecno (#109539)
Adds new climate feature flags to duotecno
This commit is contained in:
parent
f5ca82923d
commit
5f02d17873
@ -47,12 +47,16 @@ class DuotecnoClimate(DuotecnoEntity, ClimateEntity):
|
|||||||
|
|
||||||
_unit: SensUnit
|
_unit: SensUnit
|
||||||
_attr_supported_features = (
|
_attr_supported_features = (
|
||||||
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.PRESET_MODE
|
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||||
|
| ClimateEntityFeature.PRESET_MODE
|
||||||
|
| ClimateEntityFeature.TURN_OFF
|
||||||
|
| ClimateEntityFeature.TURN_ON
|
||||||
)
|
)
|
||||||
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
_attr_temperature_unit = UnitOfTemperature.CELSIUS
|
||||||
_attr_hvac_modes = list(HVACMODE_REVERSE)
|
_attr_hvac_modes = list(HVACMODE_REVERSE)
|
||||||
_attr_preset_modes = list(PRESETMODES)
|
_attr_preset_modes = list(PRESETMODES)
|
||||||
_attr_translation_key = "duotecno"
|
_attr_translation_key = "duotecno"
|
||||||
|
_enable_turn_on_off_backwards_compatibility = False
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def current_temperature(self) -> float | None:
|
def current_temperature(self) -> float | None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user