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

[Bug]: <blink 2s> #522

Open
2 tasks done
TimurDal opened this issue Jan 17, 2025 · 2 comments
Open
2 tasks done

[Bug]: <blink 2s> #522

TimurDal opened this issue Jan 17, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@TimurDal
Copy link

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest TrashCard version.
  • I did a search to see if there is a similar issue or if a pull request is open.

Current Behavior

So far I could make the Card flash, unfortunately this has not worked anymore. Is there a way to set this up

Expected Behavior

No response

Steps To Reproduce

No response

Context

YAML state

Environment

- Browser:
- HA Version:
- TrashCard:

Debug data

Anything else?

No response

@TimurDal TimurDal added the bug Something isn't working label Jan 17, 2025
@syberx
Copy link

syberx commented Jan 19, 2025

look my code: type: custom:trash-card
entities:

  • calendar.kreis_viersen
    filter_events: false
    hide_time_range: false
    use_summary: false
    full_size: false
    event_grouping: true
    drop_todayevents_from: "09:00:00"
    next_days: 2
    pattern:
  • icon: mdi:flower
    color: brown
    type: organic
    pattern: Braun
    label: Biomüll
  • icon: mdi:newspaper
    color: blue
    type: paper
  • icon: mdi:recycle-variant
    color: amber
    type: recycle
    pattern: Gelb
    label: Gelb
  • icon: mdi:trash-can-outline
    color: grey
    type: waste
    pattern: Restabfall 2 wö
  • icon: mdi:dump-truck
    color: purple
    type: others
    day_style: counter
    day_style_format: yyyy.MM.dd
    card_style: card
    alignment_style: left
    color_mode: background
    items_per_row: 1
    refresh_rate: 60
    with_label: true
    layout: horizontal
    style: |
    ha-card {
    border: solid 2px red;
    box-shadow: 0 0 10px red;
    animation: blink 1.5s ease-in-out infinite;
    }

@Keyframes blink {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0;
}
}

@TimurDal
Copy link
Author

Unfortunately it doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants