-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Deprecate Home Assistant entity attributes #7683
Conversation
Rebased PR onto the latest |
Rebased PR onto the latest dev branch to catch up with changes. |
Thanks! 😄 |
How about remote 'action' attributes on battery entities? Will it stay? |
That is not related to this change. For your subject, you can find documentation here: https://www.zigbee2mqtt.io/integration/home_assistant.html#responding-to-button-clicks |
This PR deprecates the use of Home Assistant entity attributes.
There are multiple reasons to deprecate support for this:
Additionally, it helps to provide a better experience with Zigbee2MQTT out of the box.
An advanced configuration parameter is provided to restore old behavior if needed.
Before:
After:
(ignore the state in this screenshot, it's about the attributes column)
Documentation PR: Koenkk/zigbee2mqtt.io#780