Skip to content

Commit

Permalink
Add features
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr committed Dec 13, 2024
1 parent 81e1f83 commit bbd4e5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Use the standard `climate` service calls to control or automate each unit. Avail
- `climate.set_fan_mode`
- `climate.set_hvac_mode`
- `climate.set_swing_mode`
- `climate.turn_on`
- `climate.turn_off`

Specific support and behavior can vary, depending on the capabilities of your indoor unit.

Expand Down
5 changes: 4 additions & 1 deletion custom_components/kumo/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,10 @@ def __init__(self, coordinator: KumoDataUpdateCoordinator):
self._swing_modes = self._pykumo.get_vane_directions()
self._hvac_modes = [HVACMode.OFF, HVACMode.COOL]
self._supported_features = (
ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
ClimateEntityFeature.TARGET_TEMPERATURE |
ClimateEntityFeature.FAN_MODE |
ClimateEntityFeature.TURN_OFF |
ClimateEntityFeature.TURN_ON
)
if self._pykumo.has_dry_mode():
self._hvac_modes.append(HVACMode.DRY)
Expand Down

0 comments on commit bbd4e5a

Please sign in to comment.