Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugwise climate: remove extra_state_attributes property #98153

Merged
merged 3 commits into from Aug 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 0 additions & 9 deletions 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 (
Expand Down Expand Up @@ -145,14 +144,6 @@ def preset_mode(self) -> str | None:
"""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"],
gjohansson-ST marked this conversation as resolved.
Show resolved Hide resolved
}

@plugwise_command
async def async_set_temperature(self, **kwargs: Any) -> None:
"""Set new target temperature."""
Expand Down