Skip to content

Commit

Permalink
use / for newline in display
Browse files Browse the repository at this point in the history
  • Loading branch information
frodef committed Aug 10, 2023
1 parent 1ba9e71 commit fad1bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nilan_cts600/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async def async_set_hvac_mode(self, hvac_mode):
"""Set new target hvac mode."""
_LOGGER.debug ('set hvac_mode %s', hvac_mode)
display = await self.coordinator.resetMenu()
current_mode = display.split()[0]
current_mode = display.split('/')[0]
if self._mode_map[current_mode] == hvac_mode:
return
elif hvac_mode == HVACMode.OFF:
Expand Down

0 comments on commit fad1bb4

Please sign in to comment.