mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update openai_conversation.markdown (#37086)
This commit is contained in:
parent
6fccf73607
commit
03b7496cbe
@ -133,7 +133,7 @@ automation:
|
|||||||
config_entry: abce6b8696a15e107b4bd843de722249
|
config_entry: abce6b8696a15e107b4bd843de722249
|
||||||
size: "1024x1024"
|
size: "1024x1024"
|
||||||
prompt: >-
|
prompt: >-
|
||||||
New York when the weather is {{ states("weather.home") }}"
|
New York when the weather is {{ states("weather.home") }}
|
||||||
|
|
||||||
- alias: "Send out a manual event to update the image entity"
|
- alias: "Send out a manual event to update the image entity"
|
||||||
event: new_weather_image
|
event: new_weather_image
|
||||||
@ -141,13 +141,13 @@ automation:
|
|||||||
url: '{{ generated_image.url }}'
|
url: '{{ generated_image.url }}'
|
||||||
|
|
||||||
template:
|
template:
|
||||||
- triggers:
|
- trigger:
|
||||||
- alias: "Update image when a new weather image is generated"
|
- alias: "Update image when a new weather image is generated"
|
||||||
trigger: event
|
trigger: event
|
||||||
event_type: new_weather_image
|
event_type: new_weather_image
|
||||||
image:
|
image:
|
||||||
name: "AI generated image of New York"
|
- name: "AI generated image of New York"
|
||||||
url: "{{ trigger.event.data.url }}"
|
url: "{{ trigger.event.data.url }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user