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
This commit is contained in:
parent
8b99d4678f
commit
5042c25bbc
1 changed files with 0 additions and 9 deletions
|
@ -1,7 +1,6 @@
|
||||||
"""Plugwise Climate component for Home Assistant."""
|
"""Plugwise Climate component for Home Assistant."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from collections.abc import Mapping
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from homeassistant.components.climate import (
|
from homeassistant.components.climate import (
|
||||||
|
@ -145,14 +144,6 @@ class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity):
|
||||||
"""Return the current preset mode."""
|
"""Return the current preset mode."""
|
||||||
return self.device.get("active_preset")
|
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
|
@plugwise_command
|
||||||
async def async_set_temperature(self, **kwargs: Any) -> None:
|
async def async_set_temperature(self, **kwargs: Any) -> None:
|
||||||
"""Set new target temperature."""
|
"""Set new target temperature."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue