Static Public Attributes | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Private Attributes | |
| _alarm_unsubs | |
Static Private Attributes | |
| _entity_component_unrecorded_attributes = frozenset({"description"}) | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Base class for calendar event entities.
Definition at line 490 of file __init__.py.
| None homeassistant.components.calendar.CalendarEntity.async_create_event | ( | self, | |
| **Any | kwargs | ||
| ) |
Add a new event to calendar.
Reimplemented in homeassistant.components.local_calendar.calendar.LocalCalendarEntity, and homeassistant.components.google.calendar.GoogleCalendarEntity.
Definition at line 600 of file __init__.py.
| None homeassistant.components.calendar.CalendarEntity.async_delete_event | ( | self, | |
| str | uid, | ||
| str | None | recurrence_id = None, |
||
| str | None | recurrence_range = None |
||
| ) |
Delete an event on the calendar.
Reimplemented in homeassistant.components.rachio.calendar.RachioCalendarEntity, homeassistant.components.local_calendar.calendar.LocalCalendarEntity, and homeassistant.components.google.calendar.GoogleCalendarEntity.
Definition at line 604 of file __init__.py.
| list[CalendarEvent] homeassistant.components.calendar.CalendarEntity.async_get_events | ( | self, | |
| HomeAssistant | hass, | ||
| datetime.datetime | start_date, | ||
| datetime.datetime | end_date | ||
| ) |
Return calendar events within a datetime range.
Reimplemented in homeassistant.components.ridwell.calendar.RidwellCalendar, homeassistant.components.recollect_waste.calendar.ReCollectWasteCalendar, and homeassistant.components.demo.calendar.DemoCalendar.
Definition at line 591 of file __init__.py.
| None homeassistant.components.calendar.CalendarEntity.async_update_event | ( | self, | |
| str | uid, | ||
| dict[str, Any] | event, | ||
| str | None | recurrence_id = None, |
||
| str | None | recurrence_range = None |
||
| ) |
Delete an event on the calendar.
Reimplemented in homeassistant.components.local_calendar.calendar.LocalCalendarEntity.
Definition at line 613 of file __init__.py.
| None homeassistant.components.calendar.CalendarEntity.async_will_remove_from_hass | ( | self | ) |
Run when entity will be removed from hass. To be extended by integrations.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 582 of file __init__.py.
| None homeassistant.components.calendar.CalendarEntity.async_write_ha_state | ( | self | ) |
Write the state to the state machine. This sets up listeners to handle state transitions for start or end of the current or upcoming event.
Reimplemented from homeassistant.helpers.entity.Entity.
Reimplemented in homeassistant.components.radarr.calendar.RadarrCalendarEntity.
Definition at line 535 of file __init__.py.
| CalendarEvent | None homeassistant.components.calendar.CalendarEntity.event | ( | self | ) |
Return the next upcoming event.
Reimplemented in homeassistant.components.withings.calendar.WithingsWorkoutCalendarEntity, homeassistant.components.vulcan.calendar.VulcanCalendarEntity, homeassistant.components.twentemilieu.calendar.TwenteMilieuCalendar, homeassistant.components.todoist.calendar.TodoistProjectEntity, homeassistant.components.ridwell.calendar.RidwellCalendar, homeassistant.components.recollect_waste.calendar.ReCollectWasteCalendar, homeassistant.components.rainbird.calendar.RainBirdCalendarEntity, homeassistant.components.radarr.calendar.RadarrCalendarEntity, homeassistant.components.rachio.calendar.RachioCalendarEntity, homeassistant.components.mealie.calendar.MealieMealplanCalendarEntity, homeassistant.components.local_calendar.calendar.LocalCalendarEntity, homeassistant.components.lamarzocco.calendar.LaMarzoccoCalendarEntity, homeassistant.components.husqvarna_automower.calendar.AutomowerCalendarEntity, homeassistant.components.holiday.calendar.HolidayCalendarEntity, homeassistant.components.habitica.calendar.HabiticaDailyRemindersCalendarEntity, homeassistant.components.habitica.calendar.HabiticaTodoRemindersCalendarEntity, homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity, homeassistant.components.habitica.calendar.HabiticaTodosCalendarEntity, homeassistant.components.google.calendar.GoogleCalendarEntity, homeassistant.components.epic_games_store.calendar.EGSCalendar, homeassistant.components.demo.calendar.DemoCalendar, and homeassistant.components.caldav.calendar.WebDavCalendarEntity.
Definition at line 500 of file __init__.py.
| str homeassistant.components.calendar.CalendarEntity.state | ( | self | ) |
Return the state of the calendar event.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 522 of file __init__.py.
Return the entity state attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 506 of file __init__.py.
|
private |
Definition at line 543 of file __init__.py.
|
staticprivate |
Definition at line 495 of file __init__.py.
|
static |
Definition at line 497 of file __init__.py.