From 5042c25bbc84dbc8910c7f171ec4793c749cdf71 Mon Sep 17 00:00:00 2001 From: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com> Date: Sat, 12 Aug 2023 09:56:23 +0200 Subject: [PATCH] Plugwise climate: remove extra_state_attributes property (#98153) * Remove extra_state_attributes property, replaced by a number * Support HVAC_Mode in set_temperature() * Remove set_temperature() update, as requested --- homeassistant/components/plugwise/climate.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/homeassistant/components/plugwise/climate.py b/homeassistant/components/plugwise/climate.py index 5be09a062e2..e83b76a76da 100644 --- a/homeassistant/components/plugwise/climate.py +++ b/homeassistant/components/plugwise/climate.py @@ -1,7 +1,6 @@ """Plugwise Climate component for Home Assistant.""" from __future__ import annotations -from collections.abc import Mapping from typing import Any from homeassistant.components.climate import ( @@ -145,14 +144,6 @@ class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity): """Return the current preset mode.""" return self.device.get("active_preset") - @property - def extra_state_attributes(self) -> Mapping[str, Any] | None: - """Return entity specific state attributes.""" - return { - "available_schemas": self.device["available_schedules"], - "selected_schema": self.device["select_schedule"], - } - @plugwise_command async def async_set_temperature(self, **kwargs: Any) -> None: """Set new target temperature."""