Open selvalt7 opened 3 months ago
Wow! Very impressive. I will need some time to dive into this. And I will most likely need a few iterations until I understand everything.
If you appreciate some early feedback from my browsing around for the first time:
I found this glitch in the "Display" submenu, which does not happen in the "Alignment" submenu:
We are having some issues with the package-lock.json
file. It loses resolved
and integrity
fields, whenever a new package is installed. You also ran into this issue. The only fix I could find so far, was to manually select the changes to commit and revert all the others.
The entities show two buttons to delete them:
Maybe we can manage to show and use the default one only?
Made some changes based on your feedback
select
selector does not like options with boolean
value, the fix made selector accept custom value.Just a small remark: For some STOCK cards a UI does not provide controls for changing some options - i.e. these options may only be changed in yaml. There are some related issues in HA frontend Github - and some of these issues are closed be Devs as "well, it turned to be normal to force users to use yaml to define some options", some issues may be just ignored. Means - may be we should not try to support ALL available options. Besides, one day some options may become per-entity - and then changes in UI will be needed. I am really satisfied that @selvalt7 started developing UI - but I do not insist on a support of ALL available options.
Another remark is about selecting entities. Since I have not tested is PR - have to assume & guess about a possible use of "common HA ways" in this PR. The current "common way" of selecting entity - and then displaying a selected entity - is rather confusing & unfriendly:
friendly_name
which can be very confusing since names are not unique. Check https://github.com/home-assistant/frontend/issues/11870 for Automations UI; similarly it is about editing Entities card (& all similar places in HA).Means - using same "common ways" just "contaminate" more cards in HA ))). Not a big deal, using yaml anyway - just a warning.
Visual editor does not provide all the options, only the ones I felt are necessary, if user wants to change card size or change update interval to something other than every state change, it can only be done with yaml.
On the subject of selected entity which is represented with friendly_name
. I came up with an idea to display entity_id
under the selector like this
I came up with an idea to display entity_id under the selector like this
Good, very useful & makes a picture clear.
And what about this common issue? I was afraid that you will face same glitch if decide to use a common component.
Yeah I have that issue, the only solution I think is to make custom selector or wait until they fix it in entity selector.
wait until they fix it in entity selector.
I would choose this way for time-saving.
773