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

group and "light switch" entities missing from entity list #341

Open
shaver opened this issue May 14, 2020 · 3 comments
Open

group and "light switch" entities missing from entity list #341

shaver opened this issue May 14, 2020 · 3 comments

Comments

@shaver
Copy link

shaver commented May 14, 2020

A couple of kinds of entities don't show up in entity list:

I've been using hass-cli to do batch configuration of stuff, and this confused me for a fair while!

@shaver
Copy link
Author

shaver commented May 15, 2020

Is this possibly because those entities don't have devices?

@deepcoder
Copy link

I think not having a unique ID is the problem with entities not showing up. Add a unique_id to the entity and it will appear. Many of my devices are MQTT based and I created them manually a long time ago without the new 'discovery' ability or adding the unique_id. As soon as I add this attribute, the entity appears here in hass-cli and I can now assign it an 'Area'. Still can not see entities in Areas views in HA, 2020.12.1.

@ndbroadbent
Copy link

Sorry to comment on an old issue, but this is also happening for me with some hygrostats. They don't show up with hass-cli entity list | grep hygrostat, but I do see them with the state command:

# hass-cli state list | grep hygrostat
binary_sensor.second_floor_bathroom_hygrostat                                            Second Floor Bathroom Hygrostat                                              off                                         2022-09-14T02:07:01.755933+00:00
binary_sensor.ensuite_bathroom_hygrostat                                                 Ensuite Bathroom Hygrostat                                                   off                                         2022-09-14T02:07:01.756262+00:00
binary_sensor.laundry_closet_hygrostat                                                   Laundry Closet Hygrostat                                                     off                                         2022-09-14T02:07:01.756560+00:00

I think a good workaround is to use the state list command instead of entity list. It has more information and isn't missing any entities.

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

3 participants