Skip to content

Commit

Permalink
Merge pull request #8 from YodaDaCoda/fix/mode-mapping-indentation
Browse files Browse the repository at this point in the history
fix: indendation in mode mapping
  • Loading branch information
jnimmo committed Oct 16, 2023
2 parents 7091c90 + c126a1d commit 74d0ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/intesishome/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def __init__(self, ih_device_id, ih_device, controller) -> None:
for mode in modes:
if mode in MAP_IH_TO_HVAC_MODE:
mode_list.append(MAP_IH_TO_HVAC_MODE[mode])
else:
_LOGGER.warning("Unexpected mode: %s", mode)
else:
_LOGGER.warning("Unexpected mode: %s", mode)
self._attr_hvac_modes.extend(mode_list)
self._attr_hvac_modes.append(HVACMode.OFF)

Expand Down

0 comments on commit 74d0ebd

Please sign in to comment.