Blueforcer / awtrix3

Custom firmware for the Ulanzi Smart Pixel clock or self made awtrix. Getting started is easy as 1-2-3
https://blueforcer.github.io/awtrix3/
Other
1.27k stars 110 forks source link

[BUG] Not reaction for rainbow text option in MQTT service #512

Closed zerofull56 closed 6 months ago

zerofull56 commented 6 months ago

Bug report

Describe the bug

If I add a line with "rainbow":"false" to the script in HA for send a message to the clock, the text will be colored.

Additional information

Steps to reproduce the behavior: Send for MQTT service in HA: "text":"Hello!", "rainbow":"false"

Blueforcer commented 6 months ago

You need to send it as Boolean value not as string

"rainbow":false

zerofull56 commented 6 months ago

Oops, it's my fault. I using template for this script, and input_boolean.yml for "rainbow", who send "on" and "off" instead "true" and "false"... May be i need use some soft switch instead boolean. Thanks for explanation, now, can close the issue.