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

Classes

class  GooglePhotosUpdateCoordinator
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int ALBUM_PAGE_SIZE = 50
 
 Final
 
 hours
 

Detailed Description

Coordinator for fetching data from Google Photos API.

This coordinator fetches the list of Google Photos albums that were created by
Home Assistant, which for large libraries may take some time. The list of album
ids and titles is cached and this provides a method to refresh urls since they
are short lived.

Variable Documentation

◆ _LOGGER

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

Definition at line 21 of file coordinator.py.

◆ ALBUM_PAGE_SIZE

int homeassistant.components.google_photos.coordinator.ALBUM_PAGE_SIZE = 50

Definition at line 24 of file coordinator.py.

◆ Final

homeassistant.components.google_photos.coordinator.Final

Definition at line 23 of file coordinator.py.

◆ hours

homeassistant.components.google_photos.coordinator.hours

Definition at line 23 of file coordinator.py.