Functions | |
| list[tuple[str, bytes]] | _read_file_contents (HomeAssistant hass, list[str] filenames) |
| None | async_register_services (HomeAssistant hass) |
Variables | |
| string | CONF_ALBUM = "album" |
| string | CONF_CONFIG_ENTRY_ID = "config_entry_id" |
| int | CONTENT_SIZE_LIMIT = 20 * 1024 * 1024 |
| string | UPLOAD_SERVICE = "upload" |
| UPLOAD_SERVICE_SCHEMA | |
Google Photos services.
|
private |
Return the mime types and file contents for each file.
Definition at line 40 of file services.py.
| None homeassistant.components.google_photos.services.async_register_services | ( | HomeAssistant | hass | ) |
Register Google Photos services.
Definition at line 80 of file services.py.
| string homeassistant.components.google_photos.services.CONF_ALBUM = "album" |
Definition at line 27 of file services.py.
| string homeassistant.components.google_photos.services.CONF_CONFIG_ENTRY_ID = "config_entry_id" |
Definition at line 26 of file services.py.
| int homeassistant.components.google_photos.services.CONTENT_SIZE_LIMIT = 20 * 1024 * 1024 |
Definition at line 37 of file services.py.
| string homeassistant.components.google_photos.services.UPLOAD_SERVICE = "upload" |
Definition at line 29 of file services.py.
| homeassistant.components.google_photos.services.UPLOAD_SERVICE_SCHEMA |
Definition at line 30 of file services.py.