just for the fun of it, and pushed by the demise of CH, I have adapted my shortcut_menu buttons, so they dont show the icon of the current view, but another, mostly related view to navigate to.
Makes optimal use of the small space it takes, no use showing the icon youâre on, for navigating purposes that is.
have a look, these are the 2 first icons:
Of course, canât believe I didnât spot that. The logic says if dummy_one or dummy_two is on, then itâs red, else green. Why I had green before red Iâve no idea.
Thanks @RomRider
And shortly afterwards, it stopped working! Iâm quite convinced that I didnât change anything between âworkingâ and ânot working.â Very bizarre!
Hello, loving the button-card but having trouble with a clock. I am using state and notification for the time and date but the time appears top left and date bottom right in grid. I canât figure out how to just have two rows / 1 column with both centered?
If I disable âgrid-area: notification / notification / notification / notificationâ on notification div it shows correctly, but canât figure out how in the backend.
Hi petro , i am trying to manage the code into the template , but is not working.
I cancelled your 2 entities and replaced with entity: â[[[ return entity.entity_id ]]]â
and on the lovelace file i added
cards:
- entity: sensor.0x00158d00044b3373_humidity_1
type: "custom:button-card"
template: 'graph_button_style2'
name: Living
but it does not recgnize the template.
shall i add something else ?
I thought I might contribute the below, expanding on code by Petro and RomRider (I think) for light brightness sequence but with light groups. Groups have a state but not brightness, so script pulls first entity from group and checks that for brightness. I only just started with Hassio and Jinja2 a couple weeks ago so excuse me if not formatted or best code, but it works.
I use this with a single button press is toggle (on/off) and double tap runs the below to cycle brightness
Hi, i have a problem with the example from GitHub. Card is very big and I want to make it smaller like in the example. Can you help me ? Below I attach a photo how it looks like in my ha.