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

When two changes are close in time, the last one will erase the others #16

Open
rubeecube opened this issue Dec 9, 2022 · 0 comments
Open

Comments

@rubeecube
Copy link
Contributor

This is due to the way the lib works, for instance with 2 calls
If my AC is on HEAT 26° [operoper = HEAT,26]
1st call COOL
2nd call 21°

The first call will get the operoper [operoper = HEAT,26], replace HEAT by COOL and send [operoper = COOL,26], ... waiting for external update
The second call get the operoper [operoper = HEAT,26], replace 26 by 21 and send [operoper = HEAT,21], ... waiting for external update
The AC is updated to [operoper = COOL,26], then to [operoper = HEAT,21]

Need to think about a trick

Animation

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

No branches or pull requests

1 participant