Andre0512 / pyhOn

Control hOn devices with python
MIT License
470 stars 1.76k forks source link

fix: call `load_attributes` before `load_commands` #31

Open ramundomario opened 1 month ago

ramundomario commented 1 month ago

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:

ℹ️ 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:

Fixes https://github.com/Andre0512/hon/issues/238