-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Remove analytics from updater #48518
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
Conversation
for option in (CONF_COMPONENT_REPORTING, CONF_REPORTING): | ||
if option in conf: | ||
_LOGGER.warning( | ||
"Analytics reporting with the option '%s' " | ||
"is deprecated and you should remove that from your configuration. " | ||
"The analytics part of this integration has moved to the new 'analytics' integration", | ||
option, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use cv.deprecated
in the config schema?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to mention the key, and does not care about it's value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cv.deprecated
mentions the key and doesn't care about it's value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right... I was thinking of something else!
The response for cv.deprecated
== I want to guide them to the analytics integration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh right, these users won't have the default_config
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✅
Breaking change
The
reporting
andinclude_used_components
configuration options have now been deprecated, theupdater
integration will no longer report any analytics. The analytics has moved to it's own integration. See theanalytics
integration for more details on how to configure it.Proposed change
reporting
andinclude_used_components
configuration options.https://updater.home-assistant.io/
tohttps://www.home-assistant.io/version.json
Type of change
Example entry for
configuration.yaml
:# Example configuration.yaml
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: