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

Support for enabling entities #423

Open
palves opened this issue Jan 26, 2025 · 0 comments
Open

Support for enabling entities #423

palves opened this issue Jan 26, 2025 · 0 comments

Comments

@palves
Copy link

palves commented Jan 26, 2025

I have about 30 zigbee2mqtt devices, on which I would like to activate the "last_seen" entity, which is disabled by default.

I can do that one my one in home assistant of course, but looking for a way to do it in bulk, I ran into hass-cli. Perfect! Except, it doesn't look like it is possible to enable/disable entities with hass-cli.

"hass-cli entity list" does see all the entities I which to enable:

$ hass-cli entity list| grep last_seen | grep mqtt | wc -l
29

But I couldn't figure out how to enable them. Did I just miss an existing way to do it?

Edit: edited to say enable/disable instead of activate/deactivate: I have my HA in portuguese which calls enable/disable the equivalent of activate/deactivate and I got lost in translation...

@palves palves changed the title Support for activating entities Support for enabling entities Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant