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

homeassistant_legacy_entity_attributes config not working #7802

Closed
stickpin opened this issue Jun 15, 2021 · 3 comments
Closed

homeassistant_legacy_entity_attributes config not working #7802

stickpin opened this issue Jun 15, 2021 · 3 comments
Labels
problem Something isn't working

Comments

@stickpin
Copy link

What happened

I am running the latest dev build.

I've set the config to remove legacy attributes based on this PR (#7683) but I don't see any change on the Home Assistant side.

homeassistant_legacy_entity_attributes: false

All attributes are still present.

Any idea what can be the issue?

FYI @frenck

@stickpin stickpin added the problem Something isn't working label Jun 15, 2021
@frenck
Copy link
Contributor

frenck commented Jun 15, 2021

@stickpin You have to restart Home Assistant for it to take effect. Once the state attribute are in HA, it will hold on to it in the state machine.

So:

  • Set: homeassistant_legacy_entity_attributes: false
  • Restart z2m
  • Restart Home Assistant

@stickpin
Copy link
Author

@frenck thanks a lot for a quick reply.
I was missing the Restart Home Assistant part. :)

Now it's perfect!
Thanks a lot for this PR! :)

Maybe it worth mentioning in the documentation that after the change also Home Assistant has to be restarted.

@frenck
Copy link
Contributor

frenck commented Jun 15, 2021

Good idea, @stickpin: Koenkk/zigbee2mqtt.io#795

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants