mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
More Sectionals!
This commit is contained in:
@@ -10,16 +10,47 @@ sequence:
|
||||
sequence:
|
||||
- variables:
|
||||
volume: "{{ 0.5 + (repeat.index * 0.05) }}"
|
||||
- service: script.make_clever_announcement
|
||||
data:
|
||||
|
||||
- action: media_player.volume_set
|
||||
target:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
media_content_id: media-source://media_source/local/Sounds/tts/time_to_wake_up.mp3
|
||||
volume: "{{iif(volume>1,1,volume)}}"
|
||||
- service: script.make_clever_announcement
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
volume_level: "{{iif(volume>1,1,volume)}}"
|
||||
|
||||
- action: google_generative_ai_conversation.generate_content
|
||||
metadata: {}
|
||||
data:
|
||||
prompt: Say something to help me wake up. Use a maximum of two sexy lines.
|
||||
response_variable: response
|
||||
|
||||
- action: media_player.play_media
|
||||
data:
|
||||
media_content_id: media-source://media_source/local/Sounds/alarms/Alarm_Clock.mp3
|
||||
volume: "{{iif(volume>1,1,volume)}}"
|
||||
media_content_type: music
|
||||
target:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 12
|
||||
milliseconds: 0
|
||||
|
||||
- action: tts.google_translate_say
|
||||
data:
|
||||
entity_id: media_player.master_bedroom_clock
|
||||
message: "{{ response.text }}"
|
||||
|
||||
# - action: tts.speak
|
||||
# target:
|
||||
# entity_id: tts.google_ai_tts
|
||||
# data:
|
||||
# cache: false
|
||||
# message: "Wake the user in a flirtacious and seductive voice: {{ response.text }}"
|
||||
# media_player_entity_id: media_player.great_room
|
||||
# options:
|
||||
# voice: Callirrhoe
|
||||
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
|
||||
Reference in New Issue
Block a user