Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.local_calendar.calendar Namespace Reference

Classes

class  LocalCalendarEntity
 

Functions

CalendarEvent _get_calendar_event (Event event)
 
Event _parse_event (dict[str, Any] event)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string PRODID = "-//homeassistant.io//local_calendar 1.0//EN"
 

Detailed Description

Calendar platform for a Local Calendar.

Function Documentation

◆ _get_calendar_event()

CalendarEvent homeassistant.components.local_calendar.calendar._get_calendar_event ( Event  event)
private
Return a CalendarEvent from an API event.

Definition at line 201 of file calendar.py.

◆ _parse_event()

Event homeassistant.components.local_calendar.calendar._parse_event ( dict[str, Any]  event)
private
Parse an ical event from a home assistant event dictionary.

Definition at line 175 of file calendar.py.

◆ async_setup_entry()

None homeassistant.components.local_calendar.calendar.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the local calendar platform.

Definition at line 40 of file calendar.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.local_calendar.calendar._LOGGER = logging.getLogger(__name__)
private

Definition at line 35 of file calendar.py.

◆ PRODID

string homeassistant.components.local_calendar.calendar.PRODID = "-//homeassistant.io//local_calendar 1.0//EN"

Definition at line 37 of file calendar.py.