You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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...
The text was updated successfully, but these errors were encountered:
palves
changed the title
Support for activating entities
Support for enabling entities
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...
The text was updated successfully, but these errors were encountered: