diff --git a/pyplumio/devices/ecomax.py b/pyplumio/devices/ecomax.py index 3132d119..ba49960a 100644 --- a/pyplumio/devices/ecomax.py +++ b/pyplumio/devices/ecomax.py @@ -256,7 +256,7 @@ async def _add_thermostat_parameters( self, parameters: dict[int, Sequence[tuple[int, ParameterDataType]]] | None, ) -> bool: - """set thermostat parameters.""" + """Set thermostat parameters.""" if parameters is None: return False diff --git a/pyplumio/helpers/schedule.py b/pyplumio/helpers/schedule.py index 5405ff6f..d5d460ab 100644 --- a/pyplumio/helpers/schedule.py +++ b/pyplumio/helpers/schedule.py @@ -81,18 +81,18 @@ def set_state( start: str = START_OF_DAY, end: str = END_OF_DAY, ) -> None: - """set state for interval.""" + """Set state for interval.""" index, stop_index = _parse_interval(start, end) while index < stop_index: self._intervals[index] = state == STATE_ON index += 1 def set_on(self, start: str = START_OF_DAY, end: str = END_OF_DAY) -> None: - """set on state for interval.""" + """Set on state for interval.""" self.set_state(STATE_ON, start, end) def set_off(self, start: str = START_OF_DAY, end: str = END_OF_DAY) -> None: - """set off state for interval.""" + """Set off state for interval.""" self.set_state(STATE_OFF, start, end) @property diff --git a/pyplumio/structures/ecomax_parameters.py b/pyplumio/structures/ecomax_parameters.py index 2ad18c42..1b5f32f2 100644 --- a/pyplumio/structures/ecomax_parameters.py +++ b/pyplumio/structures/ecomax_parameters.py @@ -27,7 +27,7 @@ class EcomaxParameter(Parameter): description: EcomaxParameterDescription async def set(self, value: ParameterValueType, retries: int = 5) -> bool: - """set parameter value.""" + """Set parameter value.""" if isinstance(value, (int, float)): value *= self.description.multiplier value -= self.description.offset diff --git a/pyplumio/structures/mixer_parameters.py b/pyplumio/structures/mixer_parameters.py index 031b3acd..262b408b 100644 --- a/pyplumio/structures/mixer_parameters.py +++ b/pyplumio/structures/mixer_parameters.py @@ -27,7 +27,7 @@ class MixerParameter(Parameter): description: MixerParameterDescription async def set(self, value: ParameterValueType, retries: int = 5) -> bool: - """set parameter value.""" + """Set parameter value.""" if isinstance(value, (int, float)): value *= self.description.multiplier value -= self.description.offset diff --git a/pyplumio/structures/thermostat_parameters.py b/pyplumio/structures/thermostat_parameters.py index 29e98645..fd8141d6 100644 --- a/pyplumio/structures/thermostat_parameters.py +++ b/pyplumio/structures/thermostat_parameters.py @@ -37,7 +37,7 @@ def __init__(self, offset: int, *args, **kwargs): super().__init__(*args, **kwargs) async def set(self, value: ParameterValueType, retries: int = 5) -> bool: - """set parameter value.""" + """Set parameter value.""" if isinstance(value, (int, float)): value *= self.description.multiplier