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

Add support for setting preset mode and mapping work_state to hvac_action #18

Merged

Conversation

simonengelhardt
Copy link
Contributor

@simonengelhardt simonengelhardt commented Apr 11, 2022

This is now finally possible due to an update to the Danfoss Ally API (that I just happened to come across – would be great to have some release notes or something from their side, but alas).

The API now returns a lot more properties per device in the response, but of course these are mostly undocumented.

I played around with my own setup and discovered that work_state apparently maps nicely to HA's hvac_action, so I implemented this. Also, setting preset mode now finally works, so I also included this.

Depends on a new version of pydanfossally being released with these changes merged: MTrab/pydanfossally#2

Fixes #16

@MTrab MTrab added the enhancement Enhancement of the integration label Apr 11, 2022
@MTrab MTrab merged commit eab2273 into MTrab:main Apr 11, 2022
@simonengelhardt simonengelhardt deleted the add-set-preset-mode-and-hvac-action-support branch April 11, 2022 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of the integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add commandset for setting TRV Mode
2 participants