Skip to content

Commit

Permalink
Remove set_temperature() update, as requested
Browse files Browse the repository at this point in the history
  • Loading branch information
bouwew committed Aug 11, 2023
1 parent f20ab17 commit 04cf6f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions homeassistant/components/plugwise/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import Any

from homeassistant.components.climate import (
ATTR_HVAC_MODE,
ATTR_TARGET_TEMP_HIGH,
ATTR_TARGET_TEMP_LOW,
ClimateEntity,
Expand Down Expand Up @@ -148,9 +147,6 @@ def preset_mode(self) -> str | None:
@plugwise_command
async def async_set_temperature(self, **kwargs: Any) -> None:
"""Set new target temperature."""
if ATTR_HVAC_MODE in kwargs:
await self.async_set_hvac_mode(kwargs[ATTR_HVAC_MODE])

data: dict[str, Any] = {}
if ATTR_TEMPERATURE in kwargs:
data["setpoint"] = kwargs.get(ATTR_TEMPERATURE)
Expand Down

0 comments on commit 04cf6f5

Please sign in to comment.