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:
alias: "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: ""
description: ''
alfred_lock_unlock_door:
alias: "Alfred Lock: Unlock Door"
alias: 'Alfred Lock: Unlock Door'
sequence:
- action: google_assistant_sdk.send_text_command
data:
@@ -20,10 +20,10 @@ alfred_lock_unlock_door:
milliseconds: 0
- action: google_assistant_sdk.send_text_command
data:
command: "2468"
command: '2468'
mode: single
icon: mdi:lock-open
description: ""
description: ''
play_80_s_office_room_spotify:
alias: Play 80's Office Room Spotify
sequence:
@@ -36,7 +36,7 @@ play_80_s_office_room_spotify:
media_content_type: custom
metadata: {}
mode: single
description: ""
description: ''
play_relaxing_office_room_spotify:
sequence:
- action: media_player.play_media
@@ -49,7 +49,7 @@ play_relaxing_office_room_spotify:
metadata: {}
alias: Play Relaxing Office Room Spotify
mode: single
description: ""
description: ''
stop_office_alexa_music:
alias: Stop Office Alexa Music
sequence:
@@ -79,7 +79,7 @@ play_cjad_800_on_office:
metadata: {}
alias: Play CJAD 800 on Office
mode: single
description: ""
description: ''
play_the_beat_925_on_office:
sequence:
- action: media_player.play_media
@@ -92,4 +92,25 @@ play_the_beat_925_on_office:
metadata: {}
alias: Play The Beat 925 on Office
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.