KoljaWindeler / ics

Integration that displays the next event of an ics link (support reoccuring events)
51 stars 12 forks source link

fix: make I/O calls async #29

Closed naeramarth7 closed 3 years ago

naeramarth7 commented 3 years ago

Had the same issue reported in #26, since I had to update my Google Calendar ics links this morning.

I/O operations are not allowed in sync context, therefore the async_load_data method (wrapping _load_data) should be called on user input validation.

KoljaWindeler commented 3 years ago

thx