mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 16:57:10 +00:00
Doc lint fixes (#25339)
This commit is contained in:
parent
1fddf47e8f
commit
22d9a73e8e
@ -300,7 +300,10 @@ class EvoController(EvoClimateDevice):
|
|||||||
return TCS_PRESET_TO_HA.get(self._evo_tcs.systemModeStatus['mode'])
|
return TCS_PRESET_TO_HA.get(self._evo_tcs.systemModeStatus['mode'])
|
||||||
|
|
||||||
def set_temperature(self, **kwargs) -> None:
|
def set_temperature(self, **kwargs) -> None:
|
||||||
"""The evohome Controller doesn't have a targert temperature."""
|
"""Do nothing.
|
||||||
|
|
||||||
|
The evohome Controller doesn't have a target temperature.
|
||||||
|
"""
|
||||||
return
|
return
|
||||||
|
|
||||||
def set_hvac_mode(self, hvac_mode: str) -> None:
|
def set_hvac_mode(self, hvac_mode: str) -> None:
|
||||||
|
@ -77,7 +77,7 @@ class HiveWaterHeater(WaterHeaterDevice):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the water heater """
|
"""Return the name of the water heater."""
|
||||||
if self.node_name is None:
|
if self.node_name is None:
|
||||||
self.node_name = "Hot Water"
|
self.node_name = "Hot Water"
|
||||||
return self.node_name
|
return self.node_name
|
||||||
@ -89,7 +89,7 @@ class HiveWaterHeater(WaterHeaterDevice):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def current_operation(self):
|
def current_operation(self):
|
||||||
""" Return current operation. """
|
"""Return current operation."""
|
||||||
return HIVE_TO_HASS_STATE[self.session.hotwater.get_mode(self.node_id)]
|
return HIVE_TO_HASS_STATE[self.session.hotwater.get_mode(self.node_id)]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
x
Reference in New Issue
Block a user