|
| Self | album (cls, str config_entry_id, str media_id) |
| |
| str | as_string (self) |
| |
| Self | of (cls, str identifier) |
| |
| Self | photo (cls, str config_entry_id, str media_id) |
| |
Google Photos item identifier in a media source URL.
Definition at line 60 of file media_source.py.
◆ album()
| Self homeassistant.components.google_photos.media_source.PhotosIdentifier.album |
( |
|
cls, |
|
|
str |
config_entry_id, |
|
|
str |
media_id |
|
) |
| |
◆ as_string()
| str homeassistant.components.google_photos.media_source.PhotosIdentifier.as_string |
( |
|
self | ) |
|
◆ of()
| Self homeassistant.components.google_photos.media_source.PhotosIdentifier.of |
( |
|
cls, |
|
|
str |
identifier |
|
) |
| |
Parse a PhotosIdentifier form a string.
Definition at line 79 of file media_source.py.
◆ photo()
| Self homeassistant.components.google_photos.media_source.PhotosIdentifier.photo |
( |
|
cls, |
|
|
str |
config_entry_id, |
|
|
str |
media_id |
|
) |
| |
◆ None
| homeassistant.components.google_photos.media_source.PhotosIdentifier.None |
|
static |
The documentation for this class was generated from the following file: