home-assistant / frontend

:lollipop: Frontend for Home Assistant
https://demo.home-assistant.io
Other
4.08k stars 2.79k forks source link

Multiple-day events show as single day in Homeassistant calendar #12080

Closed meichthys closed 1 year ago

meichthys commented 2 years ago

The problem

Events that span multiple days only show as a single day in the HA calendar:

Nextcloud (Source calendar):

Screen Shot 2022-03-18 at 11 03 34 PM

HA Calendar:

Screen Shot 2022-03-18 at 11 35 44 PM

What version of Home Assistant Core has the issue?

2022.3.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Calendar, ical

Link to integration documentation on our website

https://www.home-assistant.io/integrations/calendar

Diagnostics information

No response

Example YAML snippet

# https://www.home-assistant.io/integrations/caldav/
platform: caldav
url: https://nextcloud.mydomain.com/remote.php/dav/calendars/username/
username: !secret nextcloud_username
password: !secret nextcloud_password
calendars:
  - General


### Anything in the logs that might be useful for us?

_No response_

### Additional information

_No response_
probot-home-assistant[bot] commented 2 years ago

calendar documentation calendar source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

caldav documentation caldav source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (calendar) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

meichthys commented 2 years ago

Commenting to keep alive.

Gilles-Clemenceau commented 2 years ago

No news ? It's disturbing to see only the first day of an event.

meichthys commented 2 years ago

No. Ideally the event would show for the whole period so we can have a binary sensor that shows if a calendar is "busy" or not.

SavageCore commented 2 years ago

As a workaround, I create multiple single all-day events in Nextcloud. Hopefully, this can be looked at soon!

meichthys commented 2 years ago

Thanks for the idea. Might work for short events, but longer ones could get pretty tedious!

github-actions[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Gilles-Clemenceau commented 1 year ago

This issue is not resolve, the multiple days event shows in a single day in the last version of home assistant.

tmaritz commented 1 year ago

Confirming still an issue - multi-day events show only the first day in HA Calendar.

allenporter commented 1 year ago

I went and tested multi-day events and they appear how you would expect. This was updated in https://github.com/home-assistant/frontend/pull/14660

Multi-day all day event Multi-day non-all day event
meichthys commented 1 year ago

@allenporter could you chare your calendar config\setup? I'm still seeing this issue: Screenshot_20230529-171539.png

allenporter commented 1 year ago

These are events from local calendar in a recent home assistant version (2023.5). I've verified using Local Calendar and Google Calendar that all day events are displayed properly.

allenporter commented 1 year ago

If these are still not showing up properly, then it may be a bug in the specific calendar integration not returns all day events and so a good next step would be to file a bug against that component. I saw in the original bug report that the calendar event shows a time, so it may be a bug there where its created with an explicit start time. (I assume you're using caldav)

meichthys commented 1 year ago

OK, local calendars were not the issue. I think they did work last time I checked. I was reporting it using a remote Calendar (specifically Nextcloud)

allenporter commented 1 year ago

OK got it. There actually was a frontend issue here as well which was fixed in https://github.com/home-assistant/frontend/pull/14660

I think it makes sense to file the issue against the calendar integration in https://github.com/home-assistant/core/issues

(Note: Make sure to file not against "calendar" but a specific integration, e.g. caldav)

meichthys commented 1 year ago

https://github.com/home-assistant/core/issues/93769