Local calendar storage.
Definition at line 11 of file store.py.
◆ __init__()
| None homeassistant.components.local_calendar.store.LocalCalendarStore.__init__ |
( |
|
self, |
|
|
HomeAssistant |
hass, |
|
|
Path |
path |
|
) |
| |
Initialize LocalCalendarStore.
Definition at line 14 of file store.py.
◆ _load()
| str homeassistant.components.local_calendar.store.LocalCalendarStore._load |
( |
|
self | ) |
|
|
private |
Load the calendar from disk.
Definition at line 25 of file store.py.
◆ _store()
| None homeassistant.components.local_calendar.store.LocalCalendarStore._store |
( |
|
self, |
|
|
str |
ics_content |
|
) |
| |
|
private |
Persist the calendar to storage.
Definition at line 36 of file store.py.
◆ async_load()
| str homeassistant.components.local_calendar.store.LocalCalendarStore.async_load |
( |
|
self | ) |
|
Load the calendar from disk.
Definition at line 20 of file store.py.
◆ async_store()
| None homeassistant.components.local_calendar.store.LocalCalendarStore.async_store |
( |
|
self, |
|
|
str |
ics_content |
|
) |
| |
Persist the calendar to storage.
Definition at line 31 of file store.py.
◆ _hass
| homeassistant.components.local_calendar.store.LocalCalendarStore._hass |
|
private |
◆ _lock
| homeassistant.components.local_calendar.store.LocalCalendarStore._lock |
|
private |
◆ _path
| homeassistant.components.local_calendar.store.LocalCalendarStore._path |
|
private |
The documentation for this class was generated from the following file:
- core/homeassistant/components/local_calendar/store.py