Closed zagi988 closed 11 months ago
Works for me with 6 buttons, debug your css and figure out why it hapens. I suggest also making sure that the last button is not displayed because its entity is unavaiable. Try to duplciate a button that you know gets showed multiple times to see if that is a real issue with css
Found the problem...
entity.attributes.screen.brightness !== "0" had to be "entity.attributes.screen.brightness" !== "0"
Actually just tested and that doesn't work. Even tho the state of entity.attributes.screen.brightness is 0, entity is active. Actually, whatever the state is - it says active. There seems to be a problem with parsing that additional dot in screen.brightness and somehow it doesn't listen to it's state.
Is this accidental or meant to be? I made 4 buttons for the card and when I want to make fifth, the 4 buttons move a bit to the left but 5th button doesn't show up.
My config: