Support state_color in visual editor?

I have a few very simple button cards that trigger a script or action, and it makes no sense for them to show as “active,” since they will always show the state of their script/automation entity, “on.” Not very useful. I would prefer them to be the standard button color and state.

I can do this in yaml config with state_color: false of course, which works fine.

However that then disables use of the visual editor, which is inconvenient.

Would it be possible to add support for this in the visual editor? It seems like a useful option for visual configuration anyway.

Happy to contribute the code if needed.

I moved your post to a feature request.

1 Like