Skip to content

[DRAFT] Added entities in the default view#34

Open
lindell wants to merge 4 commits intohatl:masterfrom
lindell:better-default-view
Open

[DRAFT] Added entities in the default view#34
lindell wants to merge 4 commits intohatl:masterfrom
lindell:better-default-view

Conversation

@lindell
Copy link

@lindell lindell commented Jul 27, 2023

I would like to have the option to see the state of entities in the default view instead of just a static "HassControl" text.

This is the first draft of it, with more things needed to be discussed before it could be added.
Information about the state of the refreshing of data of entities was added to be able to gradually show the update.
Also, this is my first Garmin/Monkeyc code, so please give constructive feedback on the current state so future code can be improved.

Assuming this is something that would be added, there are some addition questions.
Including these:

  • Should there be an option not to view the state of entities in the default view?
  • How should very long names be handled. Especially when it comes to sensors where the end is important. Should entities be sorted with the longest names in the middle to ensure best fit for the screen?
  • Should some types, like scripts/automations be excluded? Since the state is not as important.
  • Should the user be able to specify a second group of things that is shown here?
  • ... more
output.mp4

@lindell
Copy link
Author

lindell commented Jul 28, 2023

@hatl What are your initial thoughts? Is this something that you think should be added?

@lindell
Copy link
Author

lindell commented Jul 28, 2023

Made a small change to make the shown entities always be centered vertically, no matter how many.

image

@hatl
Copy link
Owner

hatl commented Jul 29, 2023

thanks for your contribution
looks interesting
from my point of view, the feature should be optional
cloud be done via a config parameter - or like you suggested, a separate parameter for a 2nd group

@hatl
Copy link
Owner

hatl commented Jul 29, 2023

could you please update your branch to the lastest master version?
i've added a CI build - thanks

@lindell
Copy link
Author

lindell commented Jul 29, 2023

Master is merged. And the lock inversion is fixed.

I think you are right with having a second group config is the best option. It removed most issues and makes it fixable by the user if they don't use the same group for both.

@hatl
Copy link
Owner

hatl commented Aug 2, 2024

it's nice to see your approvals 🙂
i still think that the feature should be optional

@RaeesD
Copy link

RaeesD commented Feb 20, 2025

Would it be possible to use this entity list view as a way to represent the entity type "group"? That way the list is only enabled by adding a group to the list of entities in your HassControl group, and you can position it first if you want.

@hatl
Copy link
Owner

hatl commented Feb 27, 2025

I'm open for a contribution in that regard 🙂

@lindell
Copy link
Author

lindell commented Feb 27, 2025

I no longer have personal use for this feature and trying to get a working dev setup going again is probably not something I will do even if there is only a setting to enable/disable it left. If someone is interested in making this CL happen, feel free to clone and open another PR.

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

Successfully merging this pull request may close these issues.

4 participants