mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 23:37:18 +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,
|
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:
|
async def async_set_temperature(self, **kwargs: Any) -> None:
|
||||||
"""Set new target temperatures."""
|
"""Set new target temperatures."""
|
||||||
if (temp := kwargs.get(ATTR_TEMPERATURE)) is None:
|
if (temp := kwargs.get(ATTR_TEMPERATURE)) is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user