From 916958bf354eddef2d26f43edf7daef3d1b57a77 Mon Sep 17 00:00:00 2001 From: Alex Wijnholds Date: Fri, 12 May 2023 23:51:24 +0200 Subject: [PATCH] Fixed max relative mod adjusting with MQTT --- custom_components/sat/mqtt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sat/mqtt/__init__.py b/custom_components/sat/mqtt/__init__.py index fc5eb524..65567825 100644 --- a/custom_components/sat/mqtt/__init__.py +++ b/custom_components/sat/mqtt/__init__.py @@ -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)