question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

State Color not working with some entities.

See original GitHub issue

I have the following yaml config for state color.

stateColors:
  'off': '#3F5E98'
  'on': '#FFDB15'
  binary_sensor.off: '#3F5E98'
  binary_sensor.on: '#FFDB15'
  person.home: '#3F5E98'
  alarm_control_panel.disarmed

With this code, not all binary sensors are adapting the set state colors. Only some binary sensor entities show with the set colors, rest shows with the default colors. why is it so?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
alexarch21commented, Jul 31, 2022

I was able to reproduce this. It will be fixed in the next release.

0reactions
alexarch21commented, Aug 25, 2022

Fixed in V1.0.24.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Entities card - entity state color - Home Assistant Community
I'd like to change the “state color” of an entity inside an entities card. ... Add CSS styles to (almost) any lovelace card....
Read more >
State Color not working · Issue #34 - GitHub
Notice all my entities using secondaryinfo does not have state color. Even the state color set to true.
Read more >
How to set a specific color to a specific entity state? - Reddit
In 2022.12 update static/predefined colors for entity states has been ... Any idea where can I specify the color a state is assigned...
Read more >
Filing & Other General FAQs - the Texas Secretary of State
In most cases, documents submitted to the Secretary of State for filing are not required to be notarized. The Business Organizations Code (BOC)...
Read more >
View entity health status and find entities without alert conditions
The color-coded health status indicates whether app or other entity has any ... an app listed on the APM index that is not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found