Added Toggle Nest Fan Script

This commit is contained in:
2026-06-11 14:31:19 -04:00
parent 02934600af
commit c5e847fe0f
+82 -61
View File
@@ -1,95 +1,116 @@
alfred_lock_lock_door: alfred_lock_lock_door:
alias: "Alfred Lock: Lock Door" alias: 'Alfred Lock: Lock Door'
sequence: sequence:
- action: google_assistant_sdk.send_text_command - action: google_assistant_sdk.send_text_command
data: data:
command: Lock the Front Door command: Lock the Front Door
mode: single mode: single
icon: mdi:lock icon: mdi:lock
description: "" description: ''
alfred_lock_unlock_door: alfred_lock_unlock_door:
alias: "Alfred Lock: Unlock Door" alias: 'Alfred Lock: Unlock Door'
sequence: sequence:
- action: google_assistant_sdk.send_text_command - action: google_assistant_sdk.send_text_command
data: data:
command: Unlock the Front Door command: Unlock the Front Door
- delay: - delay:
hours: 0 hours: 0
minutes: 0 minutes: 0
seconds: 2 seconds: 2
milliseconds: 0 milliseconds: 0
- action: google_assistant_sdk.send_text_command - action: google_assistant_sdk.send_text_command
data: data:
command: "2468" command: '2468'
mode: single mode: single
icon: mdi:lock-open icon: mdi:lock-open
description: "" description: ''
play_80_s_office_room_spotify: play_80_s_office_room_spotify:
alias: Play 80's Office Room Spotify alias: Play 80's Office Room Spotify
sequence: sequence:
- action: media_player.play_media - action: media_player.play_media
target: target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3 device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data: data:
media: media:
media_content_id: play All Out 80s on Spotify on Shuffle media_content_id: play All Out 80s on Spotify on Shuffle
media_content_type: custom media_content_type: custom
metadata: {} metadata: {}
mode: single mode: single
description: "" description: ''
play_relaxing_office_room_spotify: play_relaxing_office_room_spotify:
sequence: sequence:
- action: media_player.play_media - action: media_player.play_media
target: target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3 device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data: data:
media: media:
media_content_id: play Relaxing Music Spotify media_content_id: play Relaxing Music Spotify
media_content_type: custom media_content_type: custom
metadata: {} metadata: {}
alias: Play Relaxing Office Room Spotify alias: Play Relaxing Office Room Spotify
mode: single mode: single
description: "" description: ''
stop_office_alexa_music: stop_office_alexa_music:
alias: Stop Office Alexa Music alias: Stop Office Alexa Music
sequence: sequence:
- action: media_player.media_stop - action: media_player.media_stop
target: target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3 device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
mode: single mode: single
description: Stops playback on the office Echo speaker description: Stops playback on the office Echo speaker
stop_music_everywhere: stop_music_everywhere:
sequence: sequence:
- action: media_player.media_stop - action: media_player.media_stop
target: target:
device_id: 05ffd6b7a256614b47cf64af85ed4063 device_id: 05ffd6b7a256614b47cf64af85ed4063
data: {} data: {}
alias: Stop Music Everywhere alias: Stop Music Everywhere
mode: single mode: single
description: Stops playback on the all Echo speaker description: Stops playback on the all Echo speaker
play_cjad_800_on_office: play_cjad_800_on_office:
sequence: sequence:
- action: media_player.play_media - action: media_player.play_media
target: target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3 device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data: data:
media: media:
media_content_id: Play CJAD 800 media_content_id: Play CJAD 800
media_content_type: custom media_content_type: custom
metadata: {} metadata: {}
alias: Play CJAD 800 on Office alias: Play CJAD 800 on Office
mode: single mode: single
description: "" description: ''
play_the_beat_925_on_office: play_the_beat_925_on_office:
sequence: sequence:
- action: media_player.play_media - action: media_player.play_media
target: target:
device_id: ba5bb5aa3747dbfa830ebff5503a5ec3 device_id: ba5bb5aa3747dbfa830ebff5503a5ec3
data: data:
media: media:
media_content_id: Play The Beat925 media_content_id: Play The Beat925
media_content_type: custom media_content_type: custom
metadata: {} metadata: {}
alias: Play The Beat 925 on Office alias: Play The Beat 925 on Office
mode: single mode: single
description: "" 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.