Skip to content

Smile optimize

Compare
Choose a tag to compare
@bouwew bouwew released this 25 Feb 18:19
· 5271 commits to main since this release
37683e0
  • Functions not called by the plugwise(-beta) code have been moved to helper.py in which they are part of the subclass SmileHelper
  • All for-loops are now executed only once, the results are stored in self-parameters.
  • Added fw, model and vendor information into the output of get_device_data(), for future use in the HA Core Plugwise(-beta) Integration
  • Split off HEATER_CENTRAL_MEASUREMENTS from DEVICE_MEASUREMENTS so they can be blocked when there is no Auxiliary device present
  • Collect only the data from the Smile that is needed: full_update_device() for initialization, update-device() for updating of live data
  • Adapt test_smile.py to the new code, increase test-coverage further