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

Multiday Events still broken. (iCal) #1147

Closed
2 tasks done
bkr1969 opened this issue Sep 14, 2023 · 20 comments · Fixed by #1183
Closed
2 tasks done

Multiday Events still broken. (iCal) #1147

bkr1969 opened this issue Sep 14, 2023 · 20 comments · Fixed by #1183
Labels
released on @beta type/bug Something isn't working

Comments

@bkr1969
Copy link

bkr1969 commented Sep 14, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Multiday events still do not show at all when set to true and only show on first day when set to false.

Expected behaviour

Multiday event shown on every day

Steps To Reproduce

No response

Mode

Calendar

Card Version

7.7.2

Home Assistant Version

2023.9.2

Configuration

type: custom:atomic-calendar-revive
name: Newest Card
entities:
  - entity: calendar.family_stuff
    name: Family Stuff
    icon: mdi:human-male-female-child
    color: white
  - entity: calendar.garbage_collection
    name: Garbage Collection
    icon: mdi:delete
    color: white
  - entity: calendar.ohio_state_buckeyes
    name: Ohio state buckeyes
    icon: mdi:football
enableModeChange: true
firstDayOfWeek: 0
defaultMode: Calendar
linkTarget: _blank
showDeclined: true
sortByStartTime: true
showDate: true
hideDuplicates: true
showRelativeTime: false
showMultiDayEventParts: true
showMultiDay: true
showCalendarName: true
showHiddenText: false
showEventIcon: true
showWeekNumber: false
showLastCalendarWeek: true
disableCalEventLink: false
calShowDescription: true

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bkr1969 bkr1969 added the type/bug Something isn't working label Sep 14, 2023
@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

I would be happy to test any fixes you make before you close this issue as fixed.

@marksie1988
Copy link
Collaborator

I would be happy to test any fixes you make before you close this issue as fixed.

You can comment on the old issue and i will re-open rather than creating a new issue each time.

I have just done another test with your config on the latest version, I have entries from both caldav and google calendar and its all showing as expected

image

image

image

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

Can you post your config?

@marksie1988
Copy link
Collaborator

I'm using the config that you posted above:

type: custom:atomic-calendar-revive
name: test
entities:
  - entity: calendar.xxxx
    name: my cal
    icon: mdi:abacus
  - entity: calendar.xxxx
    name: xxxx
    icon: mdi:shield
  - entity: calendar.xxxx
    name: xxxx
    icon: mdi:home-group
  - entity: calendar.personal
    name: Personal
    icon: mdi:power-socket
enableModeChange: true
firstDayOfWeek: 0
defaultMode: Calendar
linkTarget: _blank
showDeclined: true
sortByStartTime: true
showDate: true
hideDuplicates: true
showRelativeTime: false
showMultiDayEventParts: true
showMultiDay: true
showCalendarName: true
showHiddenText: false
showEventIcon: true
showWeekNumber: false
showLastCalendarWeek: true
disableCalEventLink: false
calShowDescription: true

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

So how is your caldav set up? I can't figure out why mine is still not working.
Is your caldav calendar icloud? Mine is:

calendar:
  - platform: caldav
    username: [email protected]
    password: xxxx-xxxx-xxxx-xxxx
    url: https://caldav.icloud.com
    calendars:
      - 'Family Stuff'
  

@marksie1988
Copy link
Collaborator

marksie1988 commented Sep 14, 2023

as per: https://www.home-assistant.io/integrations/caldav/

calendar:
  - platform: caldav
    username: owncloud
    password: xxxx
    url: http://xxx.xxx.xxx.xxx/owncloud/remote.php/dav

The card uses the home assistant Rest API to get the events, home assistant now uses a uniform API so no matter what calendar you use, if its setup correctly and its showing in home assistant then the same data is displayed no matter if its caldav or google calendar.

Do you see the events when looking in the normal home assistant calendar? if not that would show an issue with the integration of the calendar.

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

When I pull up the calendar in the sidebar, it looks like expected with the event showing across multiple days. The basic HA Calendar card does not. It shows the event only on the start day but with the correct start day/time and end day/time. It seems like it has to be something with Apple. Nothing else makes sense.

@marksie1988
Copy link
Collaborator

Ah ok I think this is a HA bug, they had this issue a long time ago with all CalDav calendars.

Im just getting access back to my old iCloud account and will do some testing.

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

Thanks. I'm sorry to be such a pain about this. I appreciate your work.

@marksie1988
Copy link
Collaborator

this may be the issue that you are seeing home-assistant/core#93769

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

That seems to be the culprit. Looks like they're working on it. I'll keep watching.

@marksie1988
Copy link
Collaborator

Although interestingly on my calendar its showing fine.

image

image

For the specific event you are having issues with, could you show me the start / end dates and times also is it a recurring event?

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

The one I've been looking at for testing was:
September 1, 2023 at 12:00 - September 4, 2023 at 10:00

Not recurring. In sidebar calendar:

image

vs Atomic:

image

@marksie1988
Copy link
Collaborator

Ok i just setup the exact same event in my iCloud account and it shows correctly in Atomic:

image

As you can see 1st to 4th shows the apple logo, it also shows on the selected days too.

@bkr1969
Copy link
Author

bkr1969 commented Sep 14, 2023

OK. I just made a new test event and it does show on multiday. Except that the dates are one day off. The event on my calendar is from the 15th - 19th. On Atomic it shows from the 16th - 20th. The prior event is still not showing so it must have something to do with the date being in the past. Now I'm not sure why the multi dates are off. Single day events show on the correct day.

@marksie1988
Copy link
Collaborator

Ok guessing this is a timezone issue so it's bumping the days around (I hate timezones)

What timezone you are in? I'll have to figure a way to test timezones as it never seems to work when I just change it in HA.

@bkr1969
Copy link
Author

bkr1969 commented Sep 15, 2023

I'm in MST.

Actually, it seems the end date is correct, only the start date shifted. My test was actually the 15 - 20 (my mistake thinking it was - 19) but shows as 16 - 20.

@bkr1969
Copy link
Author

bkr1969 commented Sep 18, 2023

OK...I see why the start date was wrong (though don't know why the display behaves this way). For multiday events, the prior days do not show, i.e. my 15-20 event now only shows as 18-20. All single day events remain on calendar after their scheduled date. Hope this helps.

@marksie1988
Copy link
Collaborator

Please could you install v9.0.0-beta.1 issues around this should be resolved as part of that.

Let me know if you have any issues.

@bkr1969
Copy link
Author

bkr1969 commented Sep 26, 2023

That absolutely fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released on @beta type/bug Something isn't working
Projects
None yet
2 participants