Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for selecting manual swing modes #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

srkoster
Copy link
Contributor

@srkoster srkoster commented Jan 5, 2025

The pyIntesisHome package needs to be updated to fully support this change: jnimmo/pyIntesisHome#58

This change retrieves the available swing modes from the pyIntesisHome functions get_vertical_swing_modes and get_horizontal_swing_modes and adds them to _swing_list and _swing_horizontal_list, thereby exposing them to Home Assistant as available swing modes:

image

It also removes the SWING_OFF from the lists since not all (at least not mine) devices support that mode. If they do, it will be added dynamically.

There is also a fallback if the new pyIntesisHome functions aren't available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant