Update documentation for Google Photos integration (#34855)

* Update documentation for Google Photos integration based on latest functionality

* tiny tweak

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Allen Porter 2024-09-23 02:27:26 -07:00 committed by GitHub
parent 6ffeb91441
commit e814f5f7c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,8 +21,10 @@ related:
title: Google Developers Console
---
The **Google Photos** integration allows you to connect your [Google Photos](https://photos.google.com/) to Home Assistant. The integration adds a [media source](/integrations/media_source) with
recent photos allowing you to view or cast your photos from the media browser.
The **Google Photos** integration allows you to upload photos to your [Google Photos](https://photos.google.com/) using Home Assistant. The integration adds an action for uploading photos and a
[media source](/integrations/media_source) to view or cast the content uploaded by
Home Assistant. This integration does not give Home Assistant access to your
entire Google Photos library.
## Prerequisites
@ -76,6 +78,22 @@ The integration setup will next give you instructions to enter the [Application
{% enddetails %}
### Action `google_photos.upload`
You can use the `google_photos.upload` action to upload Photos from Home Assistant
to Google Photos.
{% details "Create event action details" %}
| Data attribute | Optional | Description | Example |
| ---------------------- | -------- | ----------- | --------|
| `filename` | no | Path to the image to upload. | /mnt/image.jpg
| `config_entry_id` | no | The ID of the Google Photos config entry. | a1bee602deade2b09bc522749bbce48e |
{% enddetails %}
## Troubleshooting
If you have an error with your credentials, you can delete them in the [Application Credentials](/integrations/application_credentials/) user interface.