Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google.coordinator Namespace Reference

Classes

class  CalendarQueryUpdateCoordinator
 
class  CalendarSyncUpdateCoordinator
 

Functions

Timeline _truncate_timeline (Timeline timeline, int max_events)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int MAX_UPCOMING_EVENTS = 20
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=15)
 

Detailed Description

Support for Google Calendar Search binary sensors.

Function Documentation

◆ _truncate_timeline()

Timeline homeassistant.components.google.coordinator._truncate_timeline ( Timeline  timeline,
int  max_events 
)
private
Truncate the timeline to a maximum number of events.

This is used to avoid repeated expansion of recurring events during
state machine updates.

Definition at line 31 of file coordinator.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.google.coordinator._LOGGER = logging.getLogger(__name__)
private

Definition at line 23 of file coordinator.py.

◆ MAX_UPCOMING_EVENTS

int homeassistant.components.google.coordinator.MAX_UPCOMING_EVENTS = 20

Definition at line 28 of file coordinator.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.google.coordinator.MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=15)

Definition at line 25 of file coordinator.py.