Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional --bar-card-disabled-color options #168

Open
bmorgan99 opened this issue Aug 9, 2023 · 0 comments
Open

Additional --bar-card-disabled-color options #168

bmorgan99 opened this issue Aug 9, 2023 · 0 comments

Comments

@bmorgan99
Copy link

bmorgan99 commented Aug 9, 2023

It would be nice to have something like --bar-card-disabled-color for "off", "clear", "unknown", etc.

stumbled on this:

      bar-card-row bar-card-card:nth-of-type(1) {
        {% if not states['sensor.doorbell_object_detected'].state in ['unavailable','unknown','clear'] %}
          --bar-card-color: rgb(128, 0, 0, 1); border: 2px groove white; border-radius: 7px;
        {% else %}
          --bar-card-color: rgb(128, 0, 0, .5);
        {% endif %}
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant