Created
May 15, 2025 05:58
-
-
Save peyanski/c502b289e2585ba263c629b01e2d0b77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: search the web demo with Google AI | |
description: "" | |
triggers: | |
- trigger: state | |
entity_id: | |
- binary_sensor.lumi_lumi_sensor_motion_aq2_motion | |
to: "on" | |
conditions: [] | |
actions: | |
- action: conversation.process | |
metadata: {} | |
data: | |
agent_id: conversation.google_generative_ai_2 | |
conversation_id: "1" | |
text: >- | |
summarize me the most important tennis news in 2 short sentences in a | |
funny passive aggressive style. Don't include sources, links, titles. | |
Don't do any text formatting and go straight to point | |
response_variable: ai | |
- action: persistent_notification.create | |
metadata: {} | |
data: | |
message: "Tennis news are: {{ai.response.speech.plain.speech}}" | |
- action: tts.speak | |
metadata: {} | |
data: | |
cache: false | |
message: "Football news are: {{ai.response.speech.plain.speech}}" | |
language: en-GB | |
media_player_entity_id: media_player.home_assistant_voice_pe_media_player | |
target: | |
entity_id: | |
- tts.home_assistant_cloud | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment