WristHomeAssistant icon indicating copy to clipboard operation
WristHomeAssistant copied to clipboard

Show only items from group

Open jumper047 opened this issue 7 years ago • 4 comments

It is useful to set up group of items I want to see on my wrist. List with all items makes navigation hard.

jumper047 avatar Oct 19 '16 16:10 jumper047

Thanks for your feature request. I have been considering this, but questioning the best way to implement. Perhaps HA would be configured with a WHA group with all the favorites?

texnofobix avatar Oct 20 '16 02:10 texnofobix

Yes, that's right. Or a group name can be set up in pebble app.

2016-10-20 5:32 GMT+03:00 Dustin S [email protected]:

Thanks for your feature request. I have been considering this, but questioning the best way to implement. Perhaps HA would be configured with a WHA group with all the favorites?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/texnofobix/WristHomeAssistant/issues/8#issuecomment-254993510, or mute the thread https://github.com/notifications/unsubscribe-auth/ABV7XqZXtelzo7id88vQT6h_dzpOV1prks5q1tLMgaJpZM4KbNIw .

jumper047 avatar Oct 25 '16 18:10 jumper047

I think a good way to go about this is:

  1. Look for a special group in HA (say pebble). Show only entities in that group.
  2. If default_view exists, only show items in it.
  3. If that group doesn't exist and default_view isn't set, show lights and switches at the top of the list, other types at the bottom.

superm1 avatar Oct 28 '16 05:10 superm1

@superm1 I like the suggestion. For simplicity I plan on adding a group to show to the configuration. That way people can have their own groups as desired with the recommendation of pebble or default_view. If the value is blank (the default), it will sort the controllable items first then by update status.

texnofobix avatar Oct 29 '16 19:10 texnofobix