Added Toggle Nest Fan Script

This commit is contained in:
2026-06-11 14:31:19 -04:00
parent 02934600af
commit c5e847fe0f
+30 -9
View File
@@ -1,14 +1,14 @@
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:
@@ -20,10 +20,10 @@ alfred_lock_unlock_door:
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:
@@ -36,7 +36,7 @@ play_80_s_office_room_spotify:
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
@@ -49,7 +49,7 @@ play_relaxing_office_room_spotify:
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:
@@ -79,7 +79,7 @@ play_cjad_800_on_office:
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
@@ -92,4 +92,25 @@ play_the_beat_925_on_office:
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.