Skip to content

Commit

Permalink
Fixed max relative mod adjusting with MQTT
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexwijn committed May 12, 2023
1 parent 1eacc14 commit 916958b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sat/mqtt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def async_set_heater_state(self, state: DeviceState) -> None:
await super().async_set_heater_state(state)

async def async_control_max_relative_mod(self, value: float) -> None:
await self._send_command("MM={value}")
await self._send_command(f"MM={value}")

await super().async_set_control_max_relative_modulation(value)

Expand Down

0 comments on commit 916958b

Please sign in to comment.