Skip to content

Code for "any" AC device #57

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

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

Conversation

alvarocarrera
Copy link

This new code checks the capabilities of every device before sending a new overlay, including all of them or a default value. That ensures no error saying "no compatible setting" or "missing setting".

This was motivated because I had problems with Tado Smart AC v3 devices. I have 4 of them with 4 AC machines in 4 different rooms. Moreover, I use Home Assistant. The problem was that 2 of them needs different payload data when you want to set a new overlay. It is even different depending on the mode you are using: heat/cool and dry/fan need different settings in the payload.

It was a bit crazy, then, so I wrote this code that works for "any capabilities", because it checks what settings are waited by the device/zone before executing the PUT for the new overlay.

@wmalgadey
Copy link
Owner

could you resolve the conflicts?

@neonsp
Copy link

neonsp commented Oct 25, 2023

Any progress on this @alvarocarrera @wmalgadey ? I'm facing the same issue after updating my AC devices to latest version, I can't control the fan speed anymore

@wmalgadey wmalgadey added the conflicts please solve the merge conflicts label May 5, 2024
@wmalgadey wmalgadey force-pushed the master branch 4 times, most recently from 4cd53de to cc9647f Compare December 19, 2024 13:16
@wmalgadey
Copy link
Owner

This PR is too big, to be recreated. @alvarocarrera is it possible for you to make the changes compatible to 0.18.x of PyTado?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conflicts please solve the merge conflicts question
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants