Skip to content

1.5.1

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Aug 10:09
· 282 commits to main since this release
98cc3e6

Changes in version 1.5.1

Added

  • A new option economy in the refresh service, allowing users to enable economy mode to conserve API key usage by updating the IP address only when it changes.

Changed

  • custom_components/ipv64/__init__.py

    • Updated the async_update function to accept a ServiceCall argument, allowing for a new option to be passed.
    • Added logic to check if the economy option is present in the service call data and then use it in the _async_update_data method accordingly.
  • custom_components/ipv64/coordinator.py

    • Updated the async_update method to accept a ServiceCall argument, which is used to determine whether to use economy mode or not.
    • Added a new method check_ip_equal to check if the IP address has changed or not.
    • Modified _async_update_data to use the new check_ip_equal method when economy mode is enabled, ensuring that the IP address is updated only if it has changed.
  • custom_components/ipv64/strings.json

    • Updated translations for the new refresh service and its economy field.

Info

  • custom_components/ipv64/manifest.json

    • Updated the version to 1.5.1.
  • custom_components/ipv64/services.yaml

    • Added a new field economy to the refresh service, which is a boolean selector.

Removed

  • No items were removed in this version.

These changes introduce a new option economy in the refresh service, which allows users to enable economy mode to conserve API key usage by updating the IP address only when it changes. The version has been updated to 1.5.1 to reflect these changes.

What's Changed

  • 🔨 Update hacs.json file by <github-actions[bot]> by @github-actions in #24
  • add refresh service by @Ludy87 in #25

Full Changelog: 1.5.0...1.5.1