totaldebug / atomic-calendar-revive

An advanced calendar card for Home Assistant Lovelace.
https://docs.totaldebug.uk/atomic-calendar-revive
MIT License
468 stars 72 forks source link

While loading the calendar events on the Lovelace, other buttons on the page not working #1591

Open Korte68 opened 2 weeks ago

Korte68 commented 2 weeks ago

Is there an existing issue for this?

Current Behavior

I have two calendar card on the Lovelace control panel. When I activate the page where this calendars exist, it start to load the events for a 5-6 seconds. During this time period other functions (buttons) not working on the page.

Expected behaviour

catch the calendar events in the background, and display it immediately at page loading.

Steps To Reproduce

just change the page to where the card configured

Mode

Event (default)

Card Version

v10.0.0

Home Assistant Version

2024.11.1

Configuration

- name: today events
        entities:
          - entity: calendar.test
        type: custom:atomic-calendar-revive
        card_mod:
          style: |
            .event-title{
            font-size: 20px;
            }
            .single-event-container {
            display: block !important;
            }
            .event-left {
             visibility: hidden !important;
            }
        firstDayOfWeek: 1
        maxDaysToShow: 1
        eventTitleColor: orange
        maxEventCount: 4
        showHiddenText: false
        hoursFormat: HH:mm
        timeColor: null
        showLocation: false
        hideFinishedEvents: true
        showDate: false
        dateSize: 0
        disableCalEventLink: true
        disableCalLocationLink: true
        disableCalLink: true
        showDescription: false
        disableEventLink: true
        showWeekDay: false
        showCurrentEventLine: false
        showProgressBar: true
        disableLocationLink: true
        showNoEventsForToday: true
        dimFinishedEvents: false
        showRelativeTime: false
        dateFormat: LL

Relevant log output

No response

Code of Conduct

github-actions[bot] commented 2 weeks ago

Hello @Korte68, thank you for your interest in our work! If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.

Korte68 commented 2 weeks ago

Hello @Korte68, thank you for your interest in our work! If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.

I already included the config. it is not ok? I attach a video to demonstrate the issue. Thank you

https://github.com/user-attachments/assets/22f2679e-d1d2-4d34-8866-7df4cf24109f