We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 884b961 commit ca15416Copy full SHA for ca15416
custom_components/artsauna_ble/switch.py
@@ -176,7 +176,8 @@ async def async_turn_on(self, **kwargs: Any) -> None:
176
_LOGGER.error("Wrong KEY for switch: %s", self._key)
177
return
178
# manually switch the value for fluid ui
179
- self._attr_is_on = not self._attr_is_on
+ if self._key != "heating": # heating data is flawd
180
+ self._attr_is_on = not self._attr_is_on
181
182
async def async_turn_off(self, **kwargs: Any) -> None:
183
await self.async_turn_on()
0 commit comments