Change fill color in solid widget according to value

Change fill color in solid widget according to value

@Smart Toilet X

Yos!
I’m currently trying make it such that when the solid widget receives a value of 0, it does this,
image
and when it receives a value of 1, it should change the fill color to red, but it doesn’t.
image
The purpose of this is to make it easily visible for users.
I’ve already tried metadata thingamabob {“metadata”: {“color”: { “fill”: “red”}}} this thing idk and other stuff. im lost help pls
ty!
-ran