Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(experimental): add force_update as experimental setting in YAML conf #85

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

palazzem
Copy link
Owner

Related Issues

n/a

Proposed Changes:

This change introduces the concept of having experimental settings in the YAML configuration. YAML configurations are not meant to be used by integrations, which should use always the configuration flow.

In that case, we use a not suggested method to provide settings we don't want to expose easily to end users. In this way we can ship settings we can add/remove/break based on the need.

With this change you can force HA to update sensors data even if previous/actual states are the same.

Testing:

Update your configuration.yaml with the following code:

econnect_metronet:
    force_update: true

Extra Notes (optional):

n/a

Checklist

  • Related issues and proposed changes are filled
  • Tests are defining the correct and expected behavior
  • Code is well-documented via docstrings

@palazzem palazzem added this to the 2.1.0 milestone Oct 18, 2023
@palazzem palazzem self-assigned this Oct 18, 2023
@palazzem palazzem merged commit 7aaeb37 into main Oct 18, 2023
4 checks passed
@palazzem palazzem deleted the palazzem/handle-coordinator-update branch October 18, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant