From 7a82176670bbbfdac80888595346d3a1ad94622a Mon Sep 17 00:00:00 2001 From: Ruben Bokobza Date: Wed, 28 Jun 2023 10:29:58 +0300 Subject: [PATCH] Add preset support to electrasmart climate (#94068) --- homeassistant/components/electrasmart/climate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/electrasmart/climate.py b/homeassistant/components/electrasmart/climate.py index c35f3523188..59523d5a4cb 100644 --- a/homeassistant/components/electrasmart/climate.py +++ b/homeassistant/components/electrasmart/climate.py @@ -118,7 +118,9 @@ class ElectraClimateEntity(ClimateEntity): self._electra_ac_device = device self._attr_unique_id = device.mac self._attr_supported_features = ( - ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE + ClimateEntityFeature.TARGET_TEMPERATURE + | ClimateEntityFeature.FAN_MODE + | ClimateEntityFeature.PRESET_MODE ) swing_modes: list = []