Closed mlohus93 closed 1 year ago
Because the state is not Closed
but closed
same for Open
and Unavailable
they all should be lowercase so nothing matches.
OK well you can close this one then; I stand corrected. I do find it bizarre that color/text changes occurred perfectly for button-card 3.5 and went wonky for 4.1.1 without any code changes, but I cannot disagree that changing Open and Closed to open and closed did in fact get it working correctly. Thanks and apologies for the false alarm.
Checklist
Describe the bug Buttons side by side defined with same rgb colors are displaying differently
Version of the card Version: 4.1.1. (worked correctly in 3.5)
To Reproduce This is the configuration I used:
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior
The "MyQ Off" buttons are correctly shown in a Royal Blue rgb(0, 0, 255) and the "MyQ On" button is correctly shown in Green rgb(0, 100, 0) however the "Closed" button is showing in a Gray/Blue color even though the card calls for Green rgb(0,100,0). I expected "Closed" to look the same as "MyQ On"
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.