@bela-toth said in Trying to trigger different colors, with color indicator, in Dashboard, using string type data.:
I have an MQTT device, which mango is subscribing Alphanumeric (string) data. In Dashboard, how do I make "color indicator" change state based on the string data (not boolean type). Example: "ON" would trigger color1, "OFF" would trigger color2?
From the <ma-indicator> documentation - "Only for use with binary and multistate points."
@ThomasEinasto has provided an alternative method above. Thank you Thomas.
There is also another relavent example at this Mango URL -
/ui/examples/single-value-displays/led-indicator
Have you also tried setting the data point type to binary instead of alpha-numeric? I would think that should work for the MQTT data source.