From 47e56b4c161d7b9c8cc6d7c1dc3ff9dcd3d27ea3 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Tue, 29 Mar 2022 20:52:05 -0700 Subject: [PATCH] Rename entity to CalendarEntity --- docs/core/entity/calendar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/entity/calendar.md b/docs/core/entity/calendar.md index 0ed26f94..5c94f232 100644 --- a/docs/core/entity/calendar.md +++ b/docs/core/entity/calendar.md @@ -4,7 +4,7 @@ sidebar_label: Calendar --- A calendar entity is an entity that represents a set of events with a start -and end date and/or time, helpful for automations. A calendar entity is derived from the [`homeassistant.components.calendar.CalendarEventDevice`](https://github.com/home-assistant/core/blob/dev/homeassistant/components/calendar/__init__.py). +and end date and/or time, helpful for automations. A calendar entity is derived from the [`homeassistant.components.calendar.CalendarEntity`](https://github.com/home-assistant/core/blob/dev/homeassistant/components/calendar/__init__.py). ## Properties @@ -34,7 +34,7 @@ A calendar entity can return events that occur during a particular time range. S - Recurring events should be flattened and returned as individual `CalendarEvent`. ```python -class MyCalendar(CalendarEventDevice): +class MyCalendar(CalendarEntity): async def async_get_events( self,