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

fix: call load_attributes before load_commands #31

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

Conversation

ramundomario
Copy link

This pull request includes changes to the pyhon project, focusing on correcting the order of asynchronous method calls and updating the package version.

Improvements to method execution order:

  • python/hon.py: Moved the await appliance.load_commands() call to ensure it executes before await appliance.load_attributes() for proper command loading.

ℹ️ Otherwise the settings command will retain the default value instead of the real ones in attributes:
The sync_params_to_command called in load_commands will not find the real data in attributes (ref) if not loaded before

Package version update:

  • setup.py: Updated the version from 0.17.5 to 0.17.6 to reflect the latest changes.

Fixes Andre0512/hon#238

Otherwise the settings command will retain the default value instead of the real ones in attributes.

Fixes Andre0512/hon#238
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.

Wine cellar HWS77GDAU1 double zone temperature setting
1 participant