The built-in adaptation of button-card also has long-press functionality.
Actually, @kuuji, when I think about it there may be a way for your card to piggy-back on the built-in long-press handler as well. Let me know if you’d be interested in details.
Thanks for the heads up @Rondom@thomasloven but i cant seem to work out how to make the long press perform an action for a different entity. It will only give me options for the assigned button entity.
Is what im trying to do doable? If you imagine it this way, short press will turn on light.living_room and long press will turn on light.dining_room.
Has anybody been able to make this card work on a Fire HD 10 running Fully Kiosk Browser (it works in Chrome and Silk, but not in FKB)? Keep getting the “custom element doesn’t exist” message. All other custom cards work flawlessly. Thanks!
thanks, that’s cool! Missed it completely watching the original repo.
before we needed the input-text for each set of tiles, and put that into a group. Isn’t that required any longer now? Suffices to declare this main tiles set and have it show?
Don’t think so, been a while since I set it up and also left the old one still running. I did have to make a few subtle changes to the code copied from the customize file but it should be fairly obvious what as I remember it didn’t take long to do.
–edit-- that was a spacing issue. got my first Lovelace tiles!
seems this is not as nifty yet in autmatic spacing, row heights, icon_colors etc yet, so Ill have to keep my carefully configured Tiles in the legacy front-end after all… Hope this will be fixed soon then.
Glad to assist wherever possible
I am doing some work of my own home here and this is what I have been doing so far.
I have made a link-card so I can navigate from a button to a homepage like url: /lovelace/0
I have also made a “space-card” as you can see so it makes a no-card that also effect the spacing on the height for the next button.
Having trouble with the colour of my on/off button for the TV.
Should be red for ‘off’ and green for ‘on’ but the ‘on’ is not showing green. I think it’s because the state changes from ‘off’ to ‘playing’ rather than ‘on’.
Any way around this?