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.

A specific bin configured in configure.yaml : icon_color not observed.

See original GitHub issue

Describe the bug -Two bins, configured exactly the same, except for “name” in configure.yaml. -Lovelace custom card respects the “icon_color” syntax for “Green_Bin” but not for “Yellow_Bin” -Both “Yellow Bin” icons will show as a icon of a red bin with a black up arrow on it. -The “Green Bin” icon shows as an icon of a green bin with two black stripes indicating the traditional metal round bin style.

Configuration Configure.yaml lines

garbage_collection:
  sensors:
  - name: "Yellow Bin"
    frequency: "even-weeks"
    collection_days: "tue"
    verbose_state: true
  - name: "Green Bin"
    frequency: "odd-weeks"
    collection_days: "tue"
    verbose_state: true

Lovelace raw editor, relevant sections:

resources:
  - type: module
    url: /local/garbage-collection-card.js
  - badges: []
    cards:
      - entity: sensor.yellow_bin
        hide_before: 4
        icon_color: purple
        icon_size: 35px
        type: 'custom:garbage-collection-card'
      - entity: sensor.green_bin
        hide_date: true
        icon_color: green
        icon_size: 35px
        type: 'custom:garbage-collection-card'
      - entity: sensor.yellow_bin
        hide_date: true
        icon_color: yellow
        icon_size: 35px
        type: 'custom:garbage-collection-card'
    path: temporary-page
    title: Temporary Page

########################

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
amaximuscommented, Jan 9, 2020

@jinneth please note that you did not define a due_color in the Lovelace configuration of the custom card, which will then default to red. due_color is used to indicate upcoming garbage collection, namely for today and tomorrow.

0reactions
amaximuscommented, Jan 12, 2020

@jinneth once the due date passes (from today, tomorrow to anything else), the due_color is not in effect any more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Step by step guide: Change icon based on state - Configuration
This added to my customize.yaml file will change to default icon from the device_class one, but haven't found a way to change it...
Read more >
no color when using rainbow. · Issue #1818 - GitHub
The config you've posted isn't rainbow though. Have you tried running p10k configure and selecting rainbow? Can you post a video doing that?...
Read more >
Version 18.16 Plixer - Scrutinizer Documentation
Flow Analytics Configuration: Used to configure the algorithms and monitor ... If the LDAP user is not a member of the “Scrutinizer Users” ......
Read more >
Cherrytree User Manual - giuspen
If a variant of Python 2.7 is not returned, install it by running the following command then check ... Steps 17-20: Configuring the...
Read more >
Github home assistant
yamlHome Assistant Home Assistant is a home automation platform. homeassistant. ... This file contains the configuration of the whole project (all four ...
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