Problem with color on my piston state


#1

Hi,

I have the following code for my piston state but no sure why the first line is gray at the end, should be black:
Problem_with_text_color

“[b, black | Salle de jeux -> :fa-thermometer-full: :][b, {rangeValue(decimal([Salledejeux :temperature]), ‘DeepSkyBlue’, 15, ‘DodgerBlue’, 21, ‘Green’, 24, ‘DarkOrange’, 28, ‘FireBrick’)} | {format(’%.0f’, decimal([Salledejeux:temperature]))}°C] [b,black | :fa-tint: : {format(’%.0f’, decimal([Salledejeux:humidity]))}% Batterie : {format(’%.0f’, decimal([Salledejeux:battery]))}%\n [b, black | Salle de lavage -> :fa-thermometer-full: :][b, {rangeValue(decimal([Lavage :temperature]), ‘DeepSkyBlue’, 15, ‘DodgerBlue’, 21, ‘Green’, 24, ‘DarkOrange’, 28, ‘FireBrick’)} | {format(’%.0f’, decimal([Lavage:temperature]))}°C] [b,black | :fa-tint: : {format(’%.0f’, decimal([Lavage:humidity]))}% Batterie : {format(’%.0f’, decimal([Lavage:battery]))}%]”


#2

you are missing the closing square bracket before the \n

image


#3

Hawk eyes!


#4

nah, just happened to me many times in the past. the \n made it easy because the colors were correct again after that newline.