Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.local_calendar.store.LocalCalendarStore Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, Path path)
 
str async_load (self)
 
None async_store (self, str ics_content)
 

Private Member Functions

str _load (self)
 
None _store (self, str ics_content)
 

Private Attributes

 _hass
 
 _lock
 
 _path
 

Detailed Description

Local calendar storage.

Definition at line 11 of file store.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.local_calendar.store.LocalCalendarStore.__init__ (   self,
HomeAssistant  hass,
Path  path 
)
Initialize LocalCalendarStore.

Definition at line 14 of file store.py.

Member Function Documentation

◆ _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.

Member Data Documentation

◆ _hass

homeassistant.components.local_calendar.store.LocalCalendarStore._hass
private

Definition at line 16 of file store.py.

◆ _lock

homeassistant.components.local_calendar.store.LocalCalendarStore._lock
private

Definition at line 18 of file store.py.

◆ _path

homeassistant.components.local_calendar.store.LocalCalendarStore._path
private

Definition at line 17 of file store.py.


The documentation for this class was generated from the following file: