Reverted the changes to K's bedtime script due to fan not turning on

This commit is contained in:
2022-05-07 14:19:28 -04:00
parent 970f6351d4
commit 23ca4ccba4

View File

@ -336,15 +336,17 @@
entity_id: binary_sensor.people_present entity_id: binary_sensor.people_present
state: 'on' state: 'on'
action: action:
- if: - choose:
- conditions:
- condition: trigger - condition: trigger
id: kallen-night id: kallen-night
then: sequence:
- if: - choose:
- conditions:
- condition: numeric_state - condition: numeric_state
entity_id: sensor.pirateweather_temperature entity_id: sensor.pirateweather_temperature
below: '40' below: '40'
then: sequence:
- service: script.speech_engine - service: script.speech_engine
data: data:
who: kallen_bedroom who: kallen_bedroom
@ -363,27 +365,24 @@
data: {} data: {}
target: target:
entity_id: input_boolean.white_noise_kallen_bedroom entity_id: input_boolean.white_noise_kallen_bedroom
else: default:
- service: script.speech_engine - service: script.speech_engine
data: data:
who: kallen_bedroom who: kallen_bedroom
message: Fan on. Stay cool! message: Fan on. Stay cool!
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- service: media_player.volume_set - service: media_player.volume_set
data: data:
volume_level: 0.3 volume_level: 0.3
target:
entity_id: media_player.kallen_bedroom_speaker
- service: fan.turn_on - service: fan.turn_on
data: {} data: {}
target: target:
entity_id: fan.kallen_fan_socket_1 entity_id: fan.kallen_fan_socket_1
- if: - conditions:
- condition: trigger - condition: trigger
id: kallen-morning id: kallen-morning
then: sequence:
- service: fan.turn_off - service: fan.turn_off
data: {} data: {}
target: target:
@ -392,6 +391,7 @@
data: {} data: {}
target: target:
entity_id: input_boolean.white_noise_kallen_bedroom entity_id: input_boolean.white_noise_kallen_bedroom
default: []
mode: single mode: single
- id: '1650918265367' - id: '1650918265367'
alias: Speedtest Schedule alias: Speedtest Schedule