Groups in lovelace custom-button card fail

Since one of the latest updates the group entities don’t seem to work in a custom-button card
Other entity-types like switch or light are working correct

The “group-buttons” are greyed_out and can’t be pressed. I use them in combination with custom:layout-card
Anyone has a solution for this ?
This is a part of my ui-lovelace.yaml

              - type: horizontal-stack
                cards:               
                - type: "custom:button-card"
                  entity: group.Kamerlicht
                  icon: mdi:floor-lamp
                  size: 33%
                  name: Kamer
                  color: auto
                  color_type: card
                  default_color: rgb(255, 233, 155)
                  action: toggle
                - type: "custom:button-card"
                  entity: group.tuinlampen
                  icon: mdi:flower
                  size: 33%
                  name: tuin
                  color: auto
                  color_type: card
                  default_color: rgb(255, 233, 155)
                  action: toggle
                - type: "custom:button-card"
                  entity: group.slaapkamer
                  icon: mdi:bed-empty
                  name: slpk
                  size: 33%
                  color: auto
                  color_type: card
                  default_color: rgb(255, 233, 155)
                  action: toggle
                  style:
                    - font-size: 12px
                    - font-weight: bold          
                    
  

Seems like your spacing is off for the first group item. Have you tried removing that space? Also, currently the developer of the custom button card has stopped fixing the card. It is suggested that you move away from that card as soon as possible because it’s looking like the card isn’t getting fixed anytime soon.

Extra space must have been added accidentally while copying the code. Corrected that.
So that isn’t the cause of this problem.

Do you mean that the custom button-card is not maintained anymore ? Do you know a similair alternative ?

It’s no longer maintained by the original developer and there is no active development on the card, there hasn’t been for a few weeks right now.

You can use @iantrich template card in combination with the built in button card to get a similar effect.

1 Like