Skip to content

Commit

Permalink
cleanup comments
Browse files Browse the repository at this point in the history
  • Loading branch information
krahabb committed Jan 23, 2023
1 parent bb80c54 commit 9cafa2e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/meross_lan/devices/mts200.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ async def _async_turn_onoff(self, onoff) -> None:
def _ack_callback():
self._mts_onoff = onoff
self.update_modes()
#same as DND: force http request to get a consistent acknowledge
#the device will PUSH anyway a state update when the valve actually switches
#but this way we'll update the UI consistently right after setting mode

self.device.request(
mc.NS_APPLIANCE_CONTROL_THERMOSTAT_MODE,
mc.METHOD_SET,
Expand Down

0 comments on commit 9cafa2e

Please sign in to comment.