Dashboard Button Keeping Appearance when Changing Tabs

Hello, I have three buttons that when pushed change their color and text. The issue is if you switch tabs then come back, the buttons only keep their color and data. You cannot see the text unless you completely refresh. I attached only a section of my project in case something about the rest of it caused this but it didn't' help. I have tried UI Control nodes and injects and nothing helps.

I do not have your custom nodes - but looking at the flow it just sends true or false

can you just replace them with inject nodes and remove all the database stuff etc as not required to trrouble shoot this

This is basically what's happening

[
    {
        "id": "1c4e24791c0bfe19",
        "type": "subflow",
        "name": "Button Colors",
        "info": "",
        "category": "",
        "in": [
            {
                "x": 380,
                "y": 280,
                "wires": [
                    {
                        "id": "a38c689e7571586a"
                    }
                ]
            }
        ],
        "out": [
            {
                "x": 740,
                "y": 280,
                "wires": [
                    {
                        "id": "213455d2a0e9ada1",
                        "port": 0
                    },
                    {
                        "id": "7778cb95a2efe79c",
                        "port": 0
                    }
                ]
            }
        ],
        "env": [],
        "meta": {},
        "color": "#DDAA99"
    },
    {
        "id": "213455d2a0e9ada1",
        "type": "change",
        "z": "1c4e24791c0bfe19",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "Press to Reschedule",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "color",
                "pt": "msg",
                "to": "BLUE",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "letters",
                "pt": "msg",
                "to": "WHITES",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 620,
        "y": 260,
        "wires": [
            []
        ]
    },
    {
        "id": "a38c689e7571586a",
        "type": "switch",
        "z": "1c4e24791c0bfe19",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "false"
            },
            {
                "t": "true"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 470,
        "y": 280,
        "wires": [
            [
                "213455d2a0e9ada1"
            ],
            [
                "7778cb95a2efe79c"
            ]
        ]
    },
    {
        "id": "7778cb95a2efe79c",
        "type": "change",
        "z": "1c4e24791c0bfe19",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "Press to Shutoff",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "color",
                "pt": "msg",
                "to": "RED",
                "tot": "str"
            },
            {
                "t": "set",
                "p": "letters",
                "pt": "msg",
                "to": "WHITE",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 620,
        "y": 300,
        "wires": [
            []
        ]
    },
    {
        "id": "70aab2f8064489a4",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "ed03f10fcc84f3e9",
        "type": "ui_button",
        "z": "70aab2f8064489a4",
        "name": "Override 1",
        "group": "8801e65fe62929e9",
        "order": 3,
        "width": 3,
        "height": 1,
        "passthru": false,
        "label": "{{payload}}",
        "tooltip": "",
        "color": "WHITE",
        "bgcolor": "{{color}}",
        "className": "",
        "icon": "",
        "payload": "false",
        "payloadType": "bool",
        "topic": "topic",
        "topicType": "msg",
        "x": 570,
        "y": 240,
        "wires": [
            [
                "0243981469c81ea0"
            ]
        ]
    },
    {
        "id": "912860035f6c2b38",
        "type": "ui_button",
        "z": "70aab2f8064489a4",
        "name": "Override 2",
        "group": "8801e65fe62929e9",
        "order": 5,
        "width": 3,
        "height": 1,
        "passthru": false,
        "label": "{{payload}}",
        "tooltip": "",
        "color": "WHITE",
        "bgcolor": "{{color}}",
        "className": "",
        "icon": "",
        "payload": "false",
        "payloadType": "bool",
        "topic": "topic",
        "topicType": "msg",
        "x": 570,
        "y": 340,
        "wires": [
            [
                "8f6087d25a44f3fe"
            ]
        ]
    },
    {
        "id": "c214e1150ae8bf2a",
        "type": "ui_button",
        "z": "70aab2f8064489a4",
        "name": "Override 3",
        "group": "8801e65fe62929e9",
        "order": 7,
        "width": 3,
        "height": 1,
        "passthru": false,
        "label": "{{payload}}",
        "tooltip": "",
        "color": "WHITE",
        "bgcolor": "{{color}}",
        "className": "",
        "icon": "",
        "payload": "false",
        "payloadType": "bool",
        "topic": "topic",
        "topicType": "msg",
        "x": 570,
        "y": 440,
        "wires": [
            [
                "019893fe6650a278"
            ]
        ]
    },
    {
        "id": "a41b5b7e798f3883",
        "type": "ui_text",
        "z": "70aab2f8064489a4",
        "group": "8801e65fe62929e9",
        "order": 2,
        "width": 3,
        "height": 1,
        "name": "",
        "label": "Shift 1. ",
        "format": "{{msg.payload}}",
        "layout": "row-center",
        "className": "",
        "x": 700,
        "y": 280,
        "wires": []
    },
    {
        "id": "1eb0ee55a2a7617b",
        "type": "function",
        "z": "70aab2f8064489a4",
        "name": "",
        "func": "if(msg.payload == 1){\n    msg.payload = \"Scheduled\";\n}\nif(msg.payload == 0){\n    msg.payload = \"Shutoff by User\";\n}\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 560,
        "y": 280,
        "wires": [
            [
                "a41b5b7e798f3883"
            ]
        ]
    },
    {
        "id": "94f6e34ea3248cbb",
        "type": "ui_text",
        "z": "70aab2f8064489a4",
        "group": "8801e65fe62929e9",
        "order": 4,
        "width": 3,
        "height": 1,
        "name": "",
        "label": "Shift 2. ",
        "format": "{{msg.payload}}",
        "layout": "row-center",
        "className": "",
        "x": 700,
        "y": 380,
        "wires": []
    },
    {
        "id": "3846bf495c4b4f3b",
        "type": "function",
        "z": "70aab2f8064489a4",
        "name": "",
        "func": "if(msg.payload == 1){\n    msg.payload = \"Scheduled\";\n}\nif(msg.payload == 0){\n    msg.payload = \"Shutoff by User\";\n}\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 560,
        "y": 380,
        "wires": [
            [
                "94f6e34ea3248cbb"
            ]
        ]
    },
    {
        "id": "32b0fee942070501",
        "type": "ui_text",
        "z": "70aab2f8064489a4",
        "group": "8801e65fe62929e9",
        "order": 6,
        "width": 3,
        "height": 1,
        "name": "",
        "label": "Shift 3. ",
        "format": "{{msg.payload}}",
        "layout": "row-center",
        "className": "",
        "x": 700,
        "y": 480,
        "wires": []
    },
    {
        "id": "a2de1510cc54d5ea",
        "type": "function",
        "z": "70aab2f8064489a4",
        "name": "",
        "func": "if(msg.payload == 1){\n    msg.payload = \"Scheduled\";\n}\nif(msg.payload == 0){\n    msg.payload = \"Shutoff by User\";\n}\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 560,
        "y": 480,
        "wires": [
            [
                "32b0fee942070501"
            ]
        ]
    },
    {
        "id": "7dbabb356d975126",
        "type": "ui_text",
        "z": "70aab2f8064489a4",
        "group": "8801e65fe62929e9",
        "order": 1,
        "width": 6,
        "height": 1,
        "name": "",
        "label": "Line 1 Status",
        "format": "",
        "layout": "row-center",
        "className": "",
        "x": 670,
        "y": 200,
        "wires": []
    },
    {
        "id": "7864ebc2d7c64db2",
        "type": "ui_form",
        "z": "70aab2f8064489a4",
        "name": "",
        "label": "Reason for Shutdown",
        "group": "8801e65fe62929e9",
        "order": 8,
        "width": 6,
        "height": 1,
        "options": [
            {
                "label": "Reason for Shutdown",
                "value": "reason",
                "type": "multiline",
                "required": false,
                "rows": 2
            }
        ],
        "formValue": {
            "reason": ""
        },
        "payload": "",
        "submit": "submit",
        "cancel": "cancel",
        "topic": "topic",
        "topicType": "msg",
        "splitLayout": "",
        "className": "",
        "x": 440,
        "y": 540,
        "wires": [
            [
                "af85478b42e401a6",
                "02793b56e6df41ec"
            ]
        ]
    },
    {
        "id": "af85478b42e401a6",
        "type": "debug",
        "z": "70aab2f8064489a4",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 670,
        "y": 580,
        "wires": []
    },
    {
        "id": "02793b56e6df41ec",
        "type": "influxdb out",
        "z": "70aab2f8064489a4",
        "influxdb": "4492212ee887a9a8",
        "name": "InfluxOut",
        "measurement": "S105 Reason for Shutdown",
        "precision": "",
        "retentionPolicy": "",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "SHILOH",
        "bucket": "node",
        "x": 660,
        "y": 540,
        "wires": []
    },
    {
        "id": "0243981469c81ea0",
        "type": "trigger",
        "z": "70aab2f8064489a4",
        "name": "",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "100",
        "extend": false,
        "overrideDelay": false,
        "units": "ms",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 740,
        "y": 240,
        "wires": [
            [
                "1a21d573443cfb99"
            ]
        ]
    },
    {
        "id": "490505e43afa5cd1",
        "type": "subflow:1c4e24791c0bfe19",
        "z": "70aab2f8064489a4",
        "name": "",
        "x": 410,
        "y": 240,
        "wires": [
            [
                "ed03f10fcc84f3e9"
            ]
        ]
    },
    {
        "id": "3437a07730cae066",
        "type": "subflow:1c4e24791c0bfe19",
        "z": "70aab2f8064489a4",
        "name": "",
        "x": 410,
        "y": 440,
        "wires": [
            [
                "c214e1150ae8bf2a"
            ]
        ]
    },
    {
        "id": "23052394ca5e8786",
        "type": "subflow:1c4e24791c0bfe19",
        "z": "70aab2f8064489a4",
        "name": "",
        "x": 410,
        "y": 340,
        "wires": [
            [
                "912860035f6c2b38"
            ]
        ]
    },
    {
        "id": "8f6087d25a44f3fe",
        "type": "trigger",
        "z": "70aab2f8064489a4",
        "name": "",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "100",
        "extend": false,
        "overrideDelay": false,
        "units": "ms",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 740,
        "y": 340,
        "wires": [
            [
                "daa9210d19382f84"
            ]
        ]
    },
    {
        "id": "019893fe6650a278",
        "type": "trigger",
        "z": "70aab2f8064489a4",
        "name": "",
        "op1": "true",
        "op2": "false",
        "op1type": "bool",
        "op2type": "bool",
        "duration": "100",
        "extend": false,
        "overrideDelay": false,
        "units": "ms",
        "reset": "",
        "bytopic": "all",
        "topic": "topic",
        "outputs": 1,
        "x": 740,
        "y": 440,
        "wires": [
            [
                "bb314e779dd6fcf0"
            ]
        ]
    },
    {
        "id": "1a21d573443cfb99",
        "type": "link out",
        "z": "70aab2f8064489a4",
        "name": "",
        "mode": "link",
        "links": [
            "4a8256d8a80738a2"
        ],
        "x": 885,
        "y": 240,
        "wires": []
    },
    {
        "id": "4a8256d8a80738a2",
        "type": "link in",
        "z": "70aab2f8064489a4",
        "name": "",
        "links": [
            "1a21d573443cfb99",
            "7608806ec1fe36ea"
        ],
        "x": 405,
        "y": 280,
        "wires": [
            [
                "490505e43afa5cd1",
                "1eb0ee55a2a7617b"
            ]
        ]
    },
    {
        "id": "daa9210d19382f84",
        "type": "link out",
        "z": "70aab2f8064489a4",
        "name": "",
        "mode": "link",
        "links": [
            "020dad7d6aecc9eb"
        ],
        "x": 875,
        "y": 340,
        "wires": []
    },
    {
        "id": "bb314e779dd6fcf0",
        "type": "link out",
        "z": "70aab2f8064489a4",
        "name": "",
        "mode": "link",
        "links": [
            "4ea93b404048cffb"
        ],
        "x": 885,
        "y": 440,
        "wires": []
    },
    {
        "id": "020dad7d6aecc9eb",
        "type": "link in",
        "z": "70aab2f8064489a4",
        "name": "",
        "links": [
            "daa9210d19382f84",
            "7608806ec1fe36ea"
        ],
        "x": 385,
        "y": 380,
        "wires": [
            [
                "3846bf495c4b4f3b",
                "23052394ca5e8786"
            ]
        ]
    },
    {
        "id": "4ea93b404048cffb",
        "type": "link in",
        "z": "70aab2f8064489a4",
        "name": "",
        "links": [
            "bb314e779dd6fcf0"
        ],
        "x": 415,
        "y": 480,
        "wires": [
            [
                "a2de1510cc54d5ea",
                "3437a07730cae066"
            ]
        ]
    },
    {
        "id": "8801e65fe62929e9",
        "type": "ui_group",
        "name": "Test 1",
        "tab": "61ff2df7bf0207d5",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false,
        "className": ""
    },
    {
        "id": "4492212ee887a9a8",
        "type": "influxdb",
        "hostname": "127.0.0.1",
        "port": "8086",
        "protocol": "http",
        "database": "database",
        "name": "95566dd911071ee1",
        "usetls": false,
        "tls": "",
        "influxdbVersion": "2.0",
        "url": "http://192.168.0.103:8086",
        "rejectUnauthorized": true
    },
    {
        "id": "61ff2df7bf0207d5",
        "type": "ui_tab",
        "name": "Testing",
        "icon": "dashboard",
        "order": 5,
        "disabled": false,
        "hidden": false
    }
]

Looks like you have blue text on blue background - try setting some different colors :wink:

The text is set to be white in the node. Whenever you switch tabs it decides to switch it to blue

It "seems" like a bug, but try this -

[{"id":"1c4e24791c0bfe19","type":"subflow","name":"Button Colors","info":"","category":"","in":[{"x":380,"y":280,"wires":[{"id":"a38c689e7571586a"}]}],"out":[{"x":740,"y":280,"wires":[{"id":"7778cb95a2efe79c","port":0},{"id":"213455d2a0e9ada1","port":0}]}],"env":[],"meta":{},"color":"#DDAA99"},{"id":"213455d2a0e9ada1","type":"change","z":"1c4e24791c0bfe19","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Press to Reschedule","tot":"str"},{"t":"set","p":"background","pt":"msg","to":"BLUE","tot":"str"},{"t":"set","p":"letters","pt":"msg","to":"WHITE","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":200,"wires":[[]]},{"id":"a38c689e7571586a","type":"switch","z":"1c4e24791c0bfe19","name":"","property":"payload","propertyType":"msg","rules":[{"t":"false"},{"t":"true"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":280,"wires":[["213455d2a0e9ada1"],["7778cb95a2efe79c"]]},{"id":"7778cb95a2efe79c","type":"change","z":"1c4e24791c0bfe19","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Press to Shutoff","tot":"str"},{"t":"set","p":"background","pt":"msg","to":"RED","tot":"str"},{"t":"set","p":"letters","pt":"msg","to":"WHITE","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":300,"wires":[[]]},{"id":"a66f1b3f296c819a","type":"ui_button","z":"48a03d21a513552e","name":"Override 1","group":"ef946bf742693233","order":3,"width":3,"height":1,"passthru":false,"label":"{{payload}}","tooltip":"","color":"{{letters}}","bgcolor":"{{background}}","className":"","icon":"","payload":"false","payloadType":"bool","topic":"topic","topicType":"msg","x":570,"y":240,"wires":[["065d594c01c1f31a"]]},{"id":"0a48c2fedd6de701","type":"ui_text","z":"48a03d21a513552e","group":"ef946bf742693233","order":2,"width":3,"height":1,"name":"","label":"Shift 1. ","format":"{{msg.payload}}","layout":"row-center","className":"","x":700,"y":280,"wires":[]},{"id":"e611e33ade371120","type":"function","z":"48a03d21a513552e","name":"","func":"if(msg.payload == 1){\n    msg.payload = \"Scheduled\";\n}\nif(msg.payload == 0){\n    msg.payload = \"Shutoff by User\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":560,"y":280,"wires":[["0a48c2fedd6de701"]]},{"id":"776894f47ffcc84b","type":"ui_text","z":"48a03d21a513552e","group":"ef946bf742693233","order":1,"width":6,"height":1,"name":"","label":"Line 1 Status","format":"","layout":"row-center","className":"","x":670,"y":200,"wires":[]},{"id":"065d594c01c1f31a","type":"trigger","z":"48a03d21a513552e","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"1000","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":740,"y":240,"wires":[["18430d5e312303df"]]},{"id":"512f55205d5b216a","type":"subflow:1c4e24791c0bfe19","z":"48a03d21a513552e","name":"","x":340,"y":240,"wires":[["a66f1b3f296c819a"]]},{"id":"18430d5e312303df","type":"link out","z":"48a03d21a513552e","name":"","mode":"link","links":["1f13c5a67e2c1976"],"x":885,"y":240,"wires":[]},{"id":"1f13c5a67e2c1976","type":"link in","z":"48a03d21a513552e","name":"","links":["18430d5e312303df","7608806ec1fe36ea"],"x":405,"y":280,"wires":[["512f55205d5b216a","e611e33ade371120"]]},{"id":"ef946bf742693233","type":"ui_group","name":"Test 1","tab":"4690873f461ac7f6","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"4690873f461ac7f6","type":"ui_tab","name":"Testing","icon":"dashboard","order":5,"disabled":false,"hidden":false}]

It looks like the msg.color is getting applied to the text after changing tabs.

@dceejay @knolleary Can you take a quick look at this issue ?

Button works ok until switching tabs then turns text to blue

[{"id":"1c4e24791c0bfe19","type":"subflow","name":"Button Colors","info":"","category":"","in":[{"x":380,"y":280,"wires":[{"id":"a38c689e7571586a"}]}],"out":[{"x":740,"y":280,"wires":[{"id":"7778cb95a2efe79c","port":0},{"id":"213455d2a0e9ada1","port":0}]}],"env":[],"meta":{},"color":"#DDAA99"},{"id":"213455d2a0e9ada1","type":"change","z":"1c4e24791c0bfe19","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Press to Reschedule","tot":"str"},{"t":"set","p":"color","pt":"msg","to":"BLUE","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":200,"wires":[[]]},{"id":"a38c689e7571586a","type":"switch","z":"1c4e24791c0bfe19","name":"","property":"payload","propertyType":"msg","rules":[{"t":"false"},{"t":"true"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":280,"wires":[["213455d2a0e9ada1"],["7778cb95a2efe79c"]]},{"id":"7778cb95a2efe79c","type":"change","z":"1c4e24791c0bfe19","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Press to Shutoff","tot":"str"},{"t":"set","p":"color","pt":"msg","to":"RED","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":300,"wires":[[]]},{"id":"a66f1b3f296c819a","type":"ui_button","z":"48a03d21a513552e","name":"Override 1","group":"ef946bf742693233","order":3,"width":3,"height":1,"passthru":false,"label":"{{payload}}","tooltip":"","color":"white","bgcolor":"{{color}}","className":"","icon":"","payload":"false","payloadType":"bool","topic":"topic","topicType":"msg","x":570,"y":240,"wires":[["065d594c01c1f31a"]]},{"id":"0a48c2fedd6de701","type":"ui_text","z":"48a03d21a513552e","group":"ef946bf742693233","order":2,"width":3,"height":1,"name":"","label":"Shift 1. ","format":"{{msg.payload}}","layout":"row-center","className":"","x":700,"y":280,"wires":[]},{"id":"e611e33ade371120","type":"function","z":"48a03d21a513552e","name":"","func":"if(msg.payload == 1){\n    msg.payload = \"Scheduled\";\n}\nif(msg.payload == 0){\n    msg.payload = \"Shutoff by User\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":560,"y":280,"wires":[["0a48c2fedd6de701"]]},{"id":"776894f47ffcc84b","type":"ui_text","z":"48a03d21a513552e","group":"ef946bf742693233","order":1,"width":6,"height":1,"name":"","label":"Line 1 Status","format":"","layout":"row-center","className":"","x":670,"y":200,"wires":[]},{"id":"065d594c01c1f31a","type":"trigger","z":"48a03d21a513552e","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"1000","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":740,"y":240,"wires":[["18430d5e312303df"]]},{"id":"512f55205d5b216a","type":"subflow:1c4e24791c0bfe19","z":"48a03d21a513552e","name":"","x":340,"y":240,"wires":[["a66f1b3f296c819a"]]},{"id":"18430d5e312303df","type":"link out","z":"48a03d21a513552e","name":"","mode":"link","links":["1f13c5a67e2c1976"],"x":885,"y":240,"wires":[]},{"id":"1f13c5a67e2c1976","type":"link in","z":"48a03d21a513552e","name":"","links":["18430d5e312303df","7608806ec1fe36ea"],"x":405,"y":280,"wires":[["512f55205d5b216a","e611e33ade371120"]]},{"id":"ef946bf742693233","type":"ui_group","name":"Test 1","tab":"4690873f461ac7f6","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"4690873f461ac7f6","type":"ui_tab","name":"Testing","icon":"dashboard","order":5,"disabled":false,"hidden":false}]

This works OK - using a different property name msg.background

[{"id":"1c4e24791c0bfe19","type":"subflow","name":"Button Colors","info":"","category":"","in":[{"x":380,"y":280,"wires":[{"id":"a38c689e7571586a"}]}],"out":[{"x":740,"y":280,"wires":[{"id":"7778cb95a2efe79c","port":0},{"id":"213455d2a0e9ada1","port":0}]}],"env":[],"meta":{},"color":"#DDAA99"},{"id":"213455d2a0e9ada1","type":"change","z":"1c4e24791c0bfe19","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Press to Reschedule","tot":"str"},{"t":"set","p":"background","pt":"msg","to":"BLUE","tot":"str"},{"t":"set","p":"letters","pt":"msg","to":"WHITE","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":200,"wires":[[]]},{"id":"a38c689e7571586a","type":"switch","z":"1c4e24791c0bfe19","name":"","property":"payload","propertyType":"msg","rules":[{"t":"false"},{"t":"true"}],"checkall":"true","repair":false,"outputs":2,"x":470,"y":280,"wires":[["213455d2a0e9ada1"],["7778cb95a2efe79c"]]},{"id":"7778cb95a2efe79c","type":"change","z":"1c4e24791c0bfe19","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"Press to Shutoff","tot":"str"},{"t":"set","p":"background","pt":"msg","to":"RED","tot":"str"},{"t":"set","p":"letters","pt":"msg","to":"WHITE","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":620,"y":300,"wires":[[]]},{"id":"a66f1b3f296c819a","type":"ui_button","z":"48a03d21a513552e","name":"Override 1","group":"ef946bf742693233","order":3,"width":3,"height":1,"passthru":false,"label":"{{payload}}","tooltip":"","color":"{{letters}}","bgcolor":"{{background}}","className":"","icon":"","payload":"false","payloadType":"bool","topic":"topic","topicType":"msg","x":570,"y":240,"wires":[["065d594c01c1f31a"]]},{"id":"0a48c2fedd6de701","type":"ui_text","z":"48a03d21a513552e","group":"ef946bf742693233","order":2,"width":3,"height":1,"name":"","label":"Shift 1. ","format":"{{msg.payload}}","layout":"row-center","className":"","x":700,"y":280,"wires":[]},{"id":"e611e33ade371120","type":"function","z":"48a03d21a513552e","name":"","func":"if(msg.payload == 1){\n    msg.payload = \"Scheduled\";\n}\nif(msg.payload == 0){\n    msg.payload = \"Shutoff by User\";\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":560,"y":280,"wires":[["0a48c2fedd6de701"]]},{"id":"776894f47ffcc84b","type":"ui_text","z":"48a03d21a513552e","group":"ef946bf742693233","order":1,"width":6,"height":1,"name":"","label":"Line 1 Status","format":"","layout":"row-center","className":"","x":670,"y":200,"wires":[]},{"id":"065d594c01c1f31a","type":"trigger","z":"48a03d21a513552e","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"1000","extend":false,"overrideDelay":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":740,"y":240,"wires":[["18430d5e312303df"]]},{"id":"512f55205d5b216a","type":"subflow:1c4e24791c0bfe19","z":"48a03d21a513552e","name":"","x":340,"y":240,"wires":[["a66f1b3f296c819a"]]},{"id":"18430d5e312303df","type":"link out","z":"48a03d21a513552e","name":"","mode":"link","links":["1f13c5a67e2c1976"],"x":885,"y":240,"wires":[]},{"id":"1f13c5a67e2c1976","type":"link in","z":"48a03d21a513552e","name":"","links":["18430d5e312303df","7608806ec1fe36ea"],"x":405,"y":280,"wires":[["512f55205d5b216a","e611e33ade371120"]]},{"id":"ef946bf742693233","type":"ui_group","name":"Test 1","tab":"4690873f461ac7f6","order":1,"disp":true,"width":"6","collapse":false,"className":""},{"id":"4690873f461ac7f6","type":"ui_tab","name":"Testing","icon":"dashboard","order":5,"disabled":false,"hidden":false}]

I'm still having the same issue with that flow, where the letters blend into the background color when you return. I attached a screenshot of what the dashboard looks like for me.

When I first deploy or when I refresh:

When I switch tabs and return:

try with just the flow I sent - also do a refresh after first deploy it works OK for me then

Yes that worked thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.