mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Fix velbus climate current temp (#62329)
This commit is contained in:
parent
1b17c295d6
commit
9017d35e73
@ -61,6 +61,11 @@ class VelbusClimate(VelbusEntity, ClimateEntity):
|
||||
None,
|
||||
)
|
||||
|
||||
@property
|
||||
def current_temperature(self) -> int | None:
|
||||
"""Return the current temperature."""
|
||||
return self._channel.get_state()
|
||||
|
||||
async def async_set_temperature(self, **kwargs: Any) -> None:
|
||||
"""Set new target temperatures."""
|
||||
if (temp := kwargs.get(ATTR_TEMPERATURE)) is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user