Files
HomeAssistantVS/scripts.yaml
T
2026-07-08 10:43:39 -04:00

191 lines
5.7 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
alfred_lock_lock_door:
alias: 'Alfred Lock: Lock Door'
sequence:
- action: google_assistant_sdk.send_text_command
data:
command: Lock the Front Door
mode: single
icon: mdi:lock
description: ''
alfred_lock_unlock_door:
alias: 'Alfred Lock: Unlock Door'
sequence:
- action: google_assistant_sdk.send_text_command
data:
command: Unlock the Front Door
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- action: google_assistant_sdk.send_text_command
data:
command: '2468'
mode: single
icon: mdi:lock-open
description: ''
play_80_s_office_room_spotify:
alias: Play 80's Office Room Spotify
sequence:
- action: media_player.play_media
target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data:
media:
media_content_id: play All Out 80s on Spotify on Shuffle
media_content_type: custom
metadata: {}
mode: single
description: ''
play_relaxing_office_room_spotify:
sequence:
- action: media_player.play_media
target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data:
media:
media_content_id: play Relaxing Music Spotify
media_content_type: custom
metadata: {}
alias: Play Relaxing Office Room Spotify
mode: single
description: ''
stop_office_alexa_music:
alias: Stop Office Alexa Music
sequence:
- action: media_player.media_stop
target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
mode: single
description: Stops playback on the office Echo speaker
stop_music_everywhere:
sequence:
- action: media_player.media_stop
target:
device_id: 05ffd6b7a256614b47cf64af85ed4063
data: {}
alias: Stop Music Everywhere
mode: single
description: Stops playback on the all Echo speaker
play_cjad_800_on_office:
sequence:
- action: media_player.play_media
target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data:
media:
media_content_id: Play CJAD 800
media_content_type: custom
metadata: {}
alias: Play CJAD 800 on Office
mode: single
description: ''
play_the_beat_925_on_office:
sequence:
- action: media_player.play_media
target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data:
media:
media_content_id: Play The Beat925
media_content_type: custom
metadata: {}
alias: Play The Beat 925 on Office
mode: single
description: ''
toggle_nest_fan:
alias: Toggle Nest Fan
sequence:
- choose:
- conditions:
- condition: state
entity_id: sensor.nest_fan_mode_status
state: 'on'
sequence:
- action: climate.set_fan_mode
target:
entity_id: climate.living_room_living_room
data:
fan_mode: 'off'
default:
- action: nest.set_fan_timer
target:
entity_id: climate.living_room_living_room
data:
duration: 01:00:00
description: Toggles the Nest fan on for 1 hour or turns it off if already on.
weather_and_comfort_report:
alias: Weather and comfort report
sequence:
- action: ai_task.generate_data
data:
task_name: weather comfort report
instructions: 'Based on the current conditions:
- Outdoor temperature: {{ states(''sensor.outdoor_weather_hilo'') }}°C
- Weather condition: {{ states(''weather.forecast_home'') }}
- Living Room: {{ states(''sensor.living_room_living_room_temperature'') }}°C
and Humidity: {{ states(''sensor.living_room_living_room_humidity'') }}%
- Bedroom: {{ states(''sensor.bedroom_nest_temperature_sensor_bedroom_temperature'')
}}°C
- Basement: {{ states(''sensor.basement_nest_temperature_sensor_basement_temperature'')
}}°C
- Leo''s Room: {{ states(''sensor.leo_room_nest_temperature_sensor_leo_room_temperature'')
}}°C
- Seraphine''s Room: {{ states(''sensor.seraphine_room_nest_temperature_sensor_seraphine_room_temperature'')
}}°C
Generate a funny weather description and provide a funny assessment of the indoor
comfort level across the different zones of the house. Make sure it is funny.
Also, Seraphine is my daughter and Leo is my son. The Basement is my office.
'
structure:
weather_description:
description: A humorous description of the current weather outside
required: true
selector:
text: {}
indoor_comfort:
description: Overall assessment of how comfortable it is inside compared
to outside
required: true
selector:
text: {}
zone_breakdown:
description: A detailed summary detailing if any specific rooms (like the
bedroom or basement) are too hot, cold, or perfect
required: true
selector:
text: {}
response_variable: comfort_report
- action: notify.persistent_notification
data:
title: "\U0001F3E0 Home climate report"
message: "\U0001F324 **Weather outside:**\n{{ comfort_report.data.weather_description
}}\n\n\U0001F6CB **Indoor comfort:**\n{{ comfort_report.data.indoor_comfort
}}\n\n\U0001F4CA **Zone Breakdown:**\n{{ comfort_report.data.zone_breakdown
}}\n"
- action: notify.notify
data:
title: "\U0001F3E0 Home climate report"
message: "\U0001F324 **Weather outside:**\n{{ comfort_report.data.weather_description
}}\n\n\U0001F6CB **Indoor comfort:**\n{{ comfort_report.data.indoor_comfort
}}\n\n\U0001F4CA **Zone Breakdown:**\n{{ comfort_report.data.zone_breakdown
}}"
cube_dimmer_control:
alias: Cube Dimmer Control
use_blueprint:
path: SirGoodenough/dimmer_control_4_magic_cube.yaml
input:
min_b: 20
sensi: 45
description: ''