totaldebug / atomic-calendar-revive

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

Multi day events are only showing the first day of the event on the monthly calendar view #1580

Open finity69x2 opened 1 month ago

finity69x2 commented 1 month ago

Is there an existing issue for this?

Current Behavior

I’m trying to get a multiday calendar event to be split to show the event on each day of the calendar. Right now it only shows the event on the first day.

Expected behaviour

according to the docs the “showMultiDay” should split the event up and show it on each day. Or at least that’s the way I understand it.

I had stopped updating at v6.2.0 since I could never get it to look right.

this is what it looked like with that version:

image

I finally tried updating again to the latest version and this is what shows now:

image

notice the icons aren't spread across multiple days. Only the icon for the first day of the event is showing

Steps To Reproduce

here is the card config for the current version that's not working:

  - type: "custom:atomic-calendar-revive"
    name: "Work Calendar"
    defaultMode: Calendar
    firstDayOfWeek: 7
    showLoader: false
    entities:
      - entity: calendar.mycal_gmail_com
        type: icon
        icon: mdi:weather-sunny
        color: green
        allowlist: days
        showMultiDay: true
      - entity: calendar.mycal_gmail_com
        type: icon
        icon: mdi:weather-night
        color: red
        allowlist: nights
        showMultiDay: true

Mode

Calendar

Card Version

10.0.0

Home Assistant Version

2024.8.3 but it has been like this on every version

Configuration

- type: "custom:atomic-calendar-revive"
  name: "Work Calendar"
  defaultMode: Calendar
  firstDayOfWeek: 7
  showLoader: false
  entities:
    - entity: calendar.mycal_gmail_com
      type: icon
      icon: mdi:weather-sunny
      color: green
      allowlist: days
      showMultiDay: true
    - entity: calendar.mycal_gmail_com
      type: icon
      icon: mdi:weather-night
      color: red
      allowlist: nights
      showMultiDay: true

Relevant log output

none

Code of Conduct

github-actions[bot] commented 1 month ago

Hello @finity69x2, 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.