Thankās for thatā¦ I will give it a tryā¦
Meanwhile I tried this:
The first button activates/deactivates the zone, the second contains the slider and the last one fires the event to run and starts blinking in a different colorā¦ Still missing the remaining % and durationā¦ So I will try to combine your approach with mineā¦
I would love a bigger and better cover control. Then it will be easier to hit. Please see attached screenshot for a mock up. Thank you!
Shutter card is very elegant but it is a bit big and sliding it down or up is a bit difficult when the rest of the page scroll vertically. It is also not possible to just tap a place at the icon and have the cover go to that point. You have to grab the edge and slide it:
With a light dimmer. Would it be possible to have clicking the light bulb to the left toggle the light instead of opening the menu? This would eliminate the need for toggle switch to the right of the slider and give me more resolution on the slider.
Is it possible to modify your example to show just one slider that then controls all the entities at once?
i.e. set all thermostats to 18 Ā°C when I go out etc.?
Edit: I do know there is the possibility of using groups, but I am trying to avoid static groups. Otherwise, everytime I add a device that fits a profile, I have to manually add it to the respective group(s).
Not that I know of. Youāll either need to manually manage a group (at least for this example case, how often will you be adding/removing thermostats?) or write some script or automation that can select these entities and use a number input helper. Off the top of my head, Iām not immediately sure how youād do that, although I think itās possible without actually trying first
FWIW, groups can be really useful, and although you have to manually add/remove things to them from yaml, you can reload the groups from the Server Controls section of the Configuration ui without having to restart Home Assistant entirely, so itās not THAT much a painā¦ just the same, if the HA devs ever do another month of āWhat the heckā, editing groups/group entities from the UI would be a good request.
Iāve been using slider-entity-row for a long time, but recently Iāve been having issues with it loading. When I load the page with slider-entity-row in a browser (Firefox - Desktop or Mobile, Chrome Desktop) the page loads fine and I can see the sliders, but then after a second they disappear and I get the dreaded red box āCustom element doesnāt exist: slider-entity-row.ā When this happens, in the log I see:
hacsfiles/lovelace-slider-entity-row/slider-entity-row.js:1:1 SyntaxError: redeclaration of let o
I had a similar problem with state-switch and I got that to go away by removing it and reinstalling it. Unfortunately with slider-entity-row Iāve done that and I still have the same issue. And now as Iām writing this I tried one other thing (while working in Chrome Desktop)ā¦enabling the debug tools and then doing an āEmpty Cache and Hard Reloadā gets slider-entity-row to load, but then state-switch doesnāt load. Tried this repeatably and still the same. Closed the debug tools and repeatably reloading the page causes one to load and the other to fail with the āelement doesnāt existā error. And in the log I see the āUncaught SyntaxError: Identifier āeā has already been declaredā for whichever component didnāt load. It seems there might be a conflict between these two components. Iām running current versions of both components via HACS and Iām currently running HA 2021.11.3
@thomasloven Whatās your take on this? It seems when I reload the page either slider-entity-row or state-switch initially shows up, but then one or the other disappears. The behavior is pretty consistent in either Chrome or Firefox. Which ever one doesnāt load always shows a āUncaught SyntaxError: Identifier āeā has already been declaredā error in the log. Iām presuming thereās a conflict between these two components when they are in the same scope. (?) Thanks.
sorry in advance for this super silly post, but I canāt seems to get the slider working at all.
I did add through HACS, which automatically added the resources (/hacsfiles/lovelace-slider-entity-row/slider-entity-row.js?hacstag=1448997001721) inside /settings/dashboards/resources