@hmerk : I updated the code on GitHub. I implemented Justins logic for Home and Floor Menu.
For Rooms it is not quiet easy as I thought cause of the cascading menu (select Floor and then only get the relevant Rooms) and I do not know if I broke some of your logic while putting the things together.
Like any other „multi item equipment/widget) all belonging items ned ro be grouped within a semantic equipment item/group like Lightbulb, RadiatorControl, HAVAC, Speaker, etc. Having this setup properly in the model, there is no need for additional tags, as we can detect types or categorys from the semantic model and get the needed items.
So for an example, a Lightbulb equipment can contain a switch, ad dimmer and a color item, a radiator control can contain ambient temperatur, set temperature and valve position. The issue to overcome is if an equipment has more than one identical items, like ambient temp and set temp. In this cas, additional tags might be needed, but this ist still to check…
Just for info, i’ve recently sent to hmerk all widget collection for this main widget. This include a new rollershutter widget,security widget, hvac widget.
When he will be back, he will take a look to the code and then maybe we will be ready to test them in another main widget version.
I have fixed the menu and coloring, seems to be working right now.
Actually, I am slightly modifying @rubenfuser 's widgets to get the functionality right and come to nealy zero config, as we have with the other wirgets. This of course will extend the prerequisits…
Hope to finish the changes by end of tomorrow…
At all, I have updatend the linked posts in the first post and added the new scenes and security card.
Still need to add a bit more description to the new widgets…
@rubenfuser As Dimitrys design was not using an expandable card, I have changed your code to fit the design. What I still need to implement is some buttons with pin pad seurity to chnge the state of the security system.
@Nic0205 Would it be possible to reduce the height of the navbar and the footer a bit and therefore raise it for the middle part. On my mobile, I see a lot of unused space…
How should the ordering work ?
You did not implement it equal to floors and room level, so i corrected it the way I thought it was correct.
Now my floors and rooms are ordered alphabetically…
my thought was to use the “Widget Order Index” - Metatag. Justin worked out a way how to do it. It worked for the floors but not cascading to the room. In fact Justins approach are two repeater loops in one. I did not manage to get the underline for the actual floor correct (see GitHub-repo).