Dashboard template color picker showing inconsistent results with "mode" template

Trying to configure different colors for modes. For reference, here are my relevant JSON section for modes, notice "Home" doesn't have any color associated with it so it should be gray. If there is another way we're supposed to remove colors let me know. I didn't have this issue with other templates, so maybe it's an issue with modes?

{
  "template": "mode",
  "bgColor": "rgba(98,25,142,1)",
  "iconColor": "",
  "state": "cleaners",
  "customIcon": ""
},
{
  "template": "mode",
  "bgColor": "rgba(27,209,39,1)",
  "iconColor": "",
  "state": "vacation",
  "customIcon": ""
},
{
  "template": "mode",
  "bgColor": "rgba(61,77,209,1)",
  "iconColor": "",
  "state": "away",
  "customIcon": ""
}

Here is a video of the issue:

1 Like

I too have noticed the mode tile doesn't seem to listen to the colors I ask it to show.
I just ran out of @patrick tokens.

1 Like

Odd, I don't remember handing these out...

If you are comfortable using the advanced json editor, that's the quickest.

Remove state in tile template editor should remove the entry as well and can start over

For the mode's not taking effect...

Will look into it. Thanks for reporting the issue

1 Like

Thanks, I was able to rip out the colors via Json. I'll see if my new ones "stick".

I'm having the same issue with modes. Even the remove state button isn't working

Did you look into this? It still appears to be broken even with the latest hot fixes.

Thanks!

It is in the beta for 2.0.8

1 Like

I have 2.0.8 installed and still can't get the "Home" mode to be put back to default color.

Please copy the custom color section of the advanced layout section specifically for the mode template you have set up.

Here you go. Nothing is set for "Home" yet it's showing as blue (rgba(59,153,240,1))

{
  "template": "mode",
  "bgColor": "rgba(59,153,240,1)",
  "iconColor": "",
  "state": "away",
  "customIcon": ""
},
{
  "template": "mode",
  "bgColor": "rgba(209,205,22,1)",
  "iconColor": "",
  "state": "vacation",
  "customIcon": ""
},
{
  "template": "mode",
  "bgColor": "rgba(145,59,207,1)",
  "iconColor": "",
  "state": "cleaners",
  "customIcon": ""
},
{
  "template": "mode",
  "bgColor": "rgba(59,153,240,1)",
  "iconColor": "",
  "state": "sleep",
  "customIcon": ""
}

Ok, so I can't reproduce this with this much information. Can you show me the list of modes you have set in your hub?

Does mode change switch to the other background colors you set?

If you set a color for "Home" does it take that?

What I am assuming the issue is, but can't reproduce it yet, is that you have a custom mode, called "Home", but it is taking on the color of "sleep". Potentially due to it being last in the list, or not set.

I need to narrow down what bug this might be. Is it because you didn't set a color for Home? Can you set a color for home and let me know if it switches.

Thanks.

I finally go it working; not sure what did it. I was editing remote vs. local and perhaps the remote side didn't update the tile color, but it looks fine now from home. The behavior when going from other modes to home is a bit bizarre. This will show the list of modes, the colors, etc. It appears "Home" takes over whatever color (at least it appears that way) of whatever mode was pressed before it, so you have to "remove" it.