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.
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 theawait appliance.load_commands()
call to ensure it executes beforeawait 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 inload_commands
will not find the real data in attributes (ref) if not loaded beforePackage version update:
setup.py
: Updated the version from0.17.5
to0.17.6
to reflect the latest changes.Fixes https://github.com/Andre0512/hon/issues/238