totaldebug / atomic-calendar-revive

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

Some (HA) calendars not showing on mobile devices #1332

Closed M-See closed 5 months ago

M-See commented 6 months ago

Is there an existing issue for this?

Current Behavior

Maybe with the current update i encountered the problem, that the internal calendars of HA (not google/outlook ones) are not showing in the card anymore on mobile devices.

Expected behaviour

Before it worked properly for all kinds of calendars

Steps To Reproduce

No response

Mode

Calendar

Card Version

9.2.1

Home Assistant Version

2023.12.3

Configuration

type: custom:atomic-calendar-revive
name: Kalender
enableModeChange: true
entities:
  - calendar.birthdays #from outlook
  - calendar.calendar_test #from outlook
  - calendar.kalender_melus # from outlook
  - calendar.tester # generated within HA --> not shown in mobile version!
  - calendar.https_onlinekalender_ics # from google
  - calendar.hannover_96 # from google
firstDayOfWeek: 1
maxDaysToShow: 60
showDate: false
showMonth: true
showWeekDay: true
showCurrentEventLine: false
showProgressBar: true
showDescription: true
showFullDayProgress: true
showNoEventsForToday: true
showEventIcon: true
max_results: 15
maxEventCount: 15
refreshInterval: 60

Relevant log output

No response

Code of Conduct

github-actions[bot] commented 6 months ago

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

marksie1988 commented 6 months ago

I can't help much without any configuration or information on how you have it setup.

Please provide this information

M-See commented 6 months ago

Hey, i just updated with my configuration, but i also saw that now the entries are displayed also on the mobile devices.. i have absolutely no clue why, because i haven´t changed a thing. but now they are shown from the within HA generated-calendars as well.

M-See commented 6 months ago

Update.. again it´s not displaying the entries properly anymore. I have never witnessed these strange behaviours before with this integration. Now, not only on the mobile devices, but in general.

I defined an appointment on the 22.1.2024 on several calendars (outlook, google, HA-calendar) :

Screenshot 2023-12-22 133938

and none of them is displayed in the view:

Screenshot 2023-12-22 133822

the configuration is still the same (and has worked before):

type: custom:atomic-calendar-revive
name: Kalender
enableModeChange: true
entities:
  - calendar.birthdays
  - calendar.calendar_test
  - calendar.kalender_melus
  - calendar.tester
  - calendar.https_onlinekalender
  - calendar.hannover_96_
firstDayOfWeek: 1
maxDaysToShow: 60
showDate: false
showMonth: true
showWeekDay: true
showCurrentEventLine: false
showProgressBar: true
showDescription: true
showFullDayProgress: true
showNoEventsForToday: true
showEventIcon: true
max_results: 15
maxEventCount: 15
refreshInterval: 60
M-See commented 6 months ago

I can't help much without any configuration or information on how you have it setup.

Please provide this information

Hi @marksie1988, The google- and outlook calendar entries do not show up at all (despite the entries being visible in the HA-calendar tab). But based on my configuration, single entries from HA-internal calendars are shown, if there are no other entries on the day. So in the example, i provided, none of the three calendar entries is displayed, but on another day, where there is no other appointment but from an HA-internal calendar, it´s displayed in the Atomic calendar integration, but it takes very long to update and display it..

To me, it seems very strange, as it has worked smoothly before and should just read out the entries from all the calendars, right?

with V 9.1.0 everything works properly and updates fast.

manuelo1983 commented 5 months ago

I have the same issue and at one point I found out that it helps for the correct view. If you activate this option you can see the entries in the calendar.

image
marksie1988 commented 5 months ago

Could you try upgrading to the latest version of the card?

Some big changes to the way events are sorted was implemented. I found incorrect events being removed when using maxEventCount.

This may resolve that issue.

manuelo1983 commented 5 months ago

I have updated at the moment but it is strange if I activate this option then i can see all appointments from that day also not whole day appointments. When I deactivate this options only the whole day appointments are in the calendar.

M-See commented 5 months ago

Could you try upgrading to the latest version of the card?

Some big changes to the way events are sorted was implemented. I found incorrect events being removed when using maxEventCount.

This may resolve that issue.

I just updated to the newest release and i don´t see any awkward behaviour anymore. So the errors just might have appeared in the previous release. Thank you for your efforts!