Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

All Day Events #94

Open
cpw7922 opened this issue Apr 20, 2020 · 4 comments
Open

All Day Events #94

cpw7922 opened this issue Apr 20, 2020 · 4 comments

Comments

@cpw7922
Copy link

cpw7922 commented Apr 20, 2020

All Day events from Office365 are showing up as 08:00pm - 08:00pm on the day before the event should be

edit: All Day events from Google Calendars do work fine so seems to be something with 365

Home Assistant:
image

Outlook:
image

@ljmerza
Copy link
Owner

ljmerza commented Apr 20, 2020

can you post an example event from HA that comes from office365? I don't have office365 so i cant look into it

@cpw7922
Copy link
Author

cpw7922 commented Apr 20, 2020

I would be happy to but not sure how to get an example event? If you let me know what sort of data you are looking for and where it might be stored I can get it

@ljmerza
Copy link
Owner

ljmerza commented Apr 20, 2020

develop network tab -> the card makes api calls to HA to get the calendar data. I need to see if the data structure is different for office 365 or is coming back wrong. This may be a HA issue as the card basically displays what HA gives it.

@cpw7922
Copy link
Author

cpw7922 commented Apr 20, 2020

How's this? Looks like all_day is false but is_all_day is True

message: TEST - 123
all_day: false
start_time: '2020-04-19 20:00:00'
end_time: '2020-04-20 20:00:00'
location:
displayName: ''
locationType: default
uniqueIdType: unknown
address: {}
coordinates: {}
description: ''
offset_reached: false
data:

  • summary: TEST - 123
    description: ''
    location: ''
    categories: []
    sensitivity: Normal
    show_as: Free
    is_all_day: true
    attendees: []
    start: '2020-04-19T20:00:00-04:00'
    end: '2020-04-20T20:00:00-04:00'
    uid: >-
    AQMkADAwATNiZmYAZC1hMzBiLTRiMDktMDACLTAwCgBGAAAD0_A4rl1Gv0y_Bc92y-yYVgcAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxEKyWEogAAAA==
    calendar_id: >-
    AQMkADAwATNiZmYAZC1hMzBiLTRiMDktMDACLTAwCgBGAAAD0_A4rl1Gv0y_Bc92y-yYVgcA8xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAAAlF-AAAA
    subject: TEST - 123
    body: ''
    friendly_name: Calendar

image

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants