(Minor) BREAKING CHANGE:
This is a major version bump because there are technically some backwards incompatible changes, but I don't expect that they will affect the majority of users. Some of the state names in the extra_state_attributes have been changed in order to better align with how the OmniLogic refers to those states internally. If you have automations or dashboards that rely on this extra data, double check them to make sure they are still working as expected.
Other Changes:
The underlying library has been modified to allow silencing the warning about having multiple pieces of equipment with the same name. In cases where the equipment is only being addressed by it's system_id (like in the Home Assistant integration) it doesn't matter if there are multiple pieces of equipment with the same name, so this warning isn't necessary. This should help to clean up the logs a bit.
For users with CSAD and Chlorinators, new installs will now disable by default either the ORP number entity or the Timed-Percent number entity, depending on the configuration of your system. For example: f a controller is configured to use ORP control, then a brand new install of the integration will disable the Timed-Percent number entity by default.
Other than that, there are quite a few code refactors to use EntityDescriptors, this isn't a user-facing change, but should start to make the integration as easy to maintain as the newly refactored library is.
What's Changed
- feat: update underlying library and do some code cleanup by @cryptk in #265
- Update python-omnilogic-local library to v5.0.0 (fixes #261)
- Use new config object in underlying library
- Silence warnings about equipment with duplicate names (fixes #261)
- Update equipment data enums to better follow OmniLogic naming
- Disable timed-percent/orp number entities by default depending on current mode
- This only applies when the integration is first set up
- Refactor sensor.py to use EntityDescriptions for better sustainability
Full Changelog: 1.5.0...2.0.0