jontofront / ecoNET-300-Home-Assistant-Integration

ecoNET 300 integration to HA
10 stars 3 forks source link

Merge regParams and sysParams in a single dataset. #9

Closed denpamusic closed 12 months ago

denpamusic commented 12 months ago

This is an example on how to merge data fetched from regParams "curr" key and sysParams. This should be considered unsafe merge as it overrides existing keys and should only be used for learning purposes. For proper implementation - both endpoints should be merged under different keys and accessed via separate entity sub-classes.

Additionally, this fixes non-working retry logic, due to nonexistent pre-increment operator. For more information on this, see pylint documentation.