#Automation voice notification via TTS HA Cloud with LLM (OpenAI)

1 messages · Page 1 of 1 (latest)

rain plover
#

The action "Conversation 'Process'"

#

you can use the Response variable to get the result and then do whatever you want with it

humble isle
#

why is this not working. the log shows a correct message output. bu the speaker doesnt speak the message

#

blueprint:
name: Conversation Agent Speaker Agenda Notification
description: Uses a conversation agent to generate a spoken notification based on upcoming calendar, weather, and location data.
domain: automation
input:
notify_time:
name: Notification Time
description: Time the automation is triggered.
selector:
time: {}
default: "07:00:00"
calendar_entity:
name: Calendar
description: The calendar entity to use.
selector:
entity:
multiple: false
filter:
- domain:
- calendar
calendar_duration:
name: Calendar Event Duration
description: Duration to look ahead for calendar events.
selector:
duration: {}
default:
hours: 18

#

weather_entity:
name: Weather Entity
selector:
entity:
multiple: false
filter:
- domain:
- weather
zone_entity:
name: Zone Entity
selector:
entity:
multiple: false
filter:
- domain:
- zone
media_player:
name: Media Player Entity
description: The media player or speaker to output the spoken message.
selector:
entity:
domain: media_player
conversation_agent:
name: Conversation Agent
selector:
conversation_agent: {}
prompt:
name: LLM Prompt
selector:
text:
multiline: true
default: |
Please generate a short, friendly and helpful voice message to help the user prepare for their day. Mention any unusual weather, upcoming meetings, and other insights based on the data.

trigger:
platform: time
at: !input notify_time

action:

  • variables:
    weather_entity: !input weather_entity
    calendar_entity: !input calendar_entity
    zone_entity: !input zone_entity
    calendar_duration: !input calendar_duration
    prompt: !input prompt