I have the input side worked out with buttons to press.
It is a set of .... 4 buttons.
AUTO
MANUAL
ON and OFF
Then there is an icon which depicts if the fan is running or not.
But no indication of the mode. (Auto/Manual)
So I'm wanting something to show that side of things.
This is where I am at.
Seems the colour thing isn't quite working as I thought.
Ok, it caught me the first time, but when you said the colours need to be defined, I tried it this way.
Keeping it as simple as I can.
[{"id":"d66f4d53ce4f3080","type":"ui_switch","z":"10dda891.0445cf","name":"","label":"switch","tooltip":"","group":"32e5d991.ba0e26","order":7,"width":"2","height":"1","passthru":true,"decouple":"false","topic":"","style":"","onvalue":"on","onvalueType":"str","onicon":"iconify-mdi:fan 34px","oncolor":"{{msg.colour}}","offvalue":"off","offvalueType":"str","officon":"iconify-mdi:fan-auto 34px","offcolor":"{{msg.colour}}","x":1480,"y":1030,"wires":[[]]},{"id":"d882965753d95591","type":"inject","z":"10dda891.0445cf","name":"","props":[{"p":"payload"},{"p":"colour","v":"red","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":1340,"y":990,"wires":[["d66f4d53ce4f3080"]]},{"id":"3197d67953d6f103","type":"inject","z":"10dda891.0445cf","name":"","props":[{"p":"payload"},{"p":"colour","v":"green","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":1340,"y":1030,"wires":[["d66f4d53ce4f3080"]]},{"id":"32e5d991.ba0e26","type":"ui_group","name":"Fan control","tab":"72e19677.786938","order":2,"disp":true,"width":"6","collapse":false},{"id":"72e19677.786938","type":"ui_tab","name":"Fan control","icon":"fa-thermometer-half","order":11,"disabled":false,"hidden":false}]