Static Public Attributes | |
| entity_description | |
Static Public Attributes inherited from homeassistant.components.calendar.CalendarEntity | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.components.habitica.entity.HabiticaBase | |
| entity_description | |
Public Attributes inherited from homeassistant.components.habitica.coordinator.HabiticaDataUpdateCoordinator | |
| api | |
| content | |
Public Attributes inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator | |
| always_update | |
| config_entry | |
| data | |
| hass | |
| last_exception | |
| last_update_success | |
| logger | |
| name | |
| setup_method | |
| update_interval | |
| update_method | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Habitica dailies calendar entity.
Definition at line 128 of file calendar.py.
| list[CalendarEvent] homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.async_get_events | ( | self, | |
| HomeAssistant | hass, | ||
| datetime | start_date, | ||
| datetime | end_date | ||
| ) |
Return calendar events within a datetime range.
Definition at line 219 of file calendar.py.
| list[CalendarEvent] homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.due_dailies | ( | self, | |
| datetime | start_date, | ||
| datetime | None | end_date = None |
||
| ) |
Get dailies and recurrences for a given period or the next upcoming.
Definition at line 169 of file calendar.py.
| date homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.end_date | ( | self, | |
| datetime | recurrence, | ||
| datetime | None | end = None |
||
| ) |
Calculate the end date for a yesterdaily. The enddates of events from yesterday move forward to the end of the current day (until the cron resets the dailies) to show them as still active events on the calendar state entity (state: on). Events in the calendar view will show all-day events on their due day
Definition at line 143 of file calendar.py.
| CalendarEvent | None homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.event | ( | self | ) |
Return the next upcoming event.
Reimplemented from homeassistant.components.calendar.CalendarEntity.
Definition at line 215 of file calendar.py.
| dict[str, bool | None] | None homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.extra_state_attributes | ( | self | ) |
Return entity specific state attributes.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 227 of file calendar.py.
| list[datetime] homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.get_recurrence_dates | ( | self, | |
| rrule | recurrences, | ||
| datetime | start_date, | ||
| datetime | None | end_date = None |
||
| ) |
Calculate recurrence dates based on start_date and end_date.
Definition at line 158 of file calendar.py.
| datetime homeassistant.components.habitica.calendar.HabiticaDailiesCalendarEntity.today | ( | self | ) |
Habitica daystart.
Definition at line 137 of file calendar.py.
|
static |
Definition at line 131 of file calendar.py.