Cleaning up yaml
This commit is contained in:
parent
2105d4b92d
commit
c25798751f
|
@ -61,7 +61,7 @@
|
||||||
platform: state
|
platform: state
|
||||||
to: 'On'
|
to: 'On'
|
||||||
condition:
|
condition:
|
||||||
- above: '73'
|
- above: 73
|
||||||
condition: numeric_state
|
condition: numeric_state
|
||||||
entity_id: sensor.upstairs_temperature
|
entity_id: sensor.upstairs_temperature
|
||||||
action:
|
action:
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: switch.livingroom_fan
|
entity_id: switch.livingroom_fan
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- above: '73'
|
- above: 73
|
||||||
condition: numeric_state
|
condition: numeric_state
|
||||||
entity_id: sensor.living_room_temperature
|
entity_id: sensor.living_room_temperature
|
||||||
action:
|
action:
|
||||||
|
@ -101,12 +101,9 @@
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: switch.croft_fan
|
entity_id: switch.croft_fan
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- below: '72'
|
- below: 72
|
||||||
condition: numeric_state
|
condition: numeric_state
|
||||||
entity_id: sensor.upstairs_temperature
|
entity_id: sensor.upstairs_temperature
|
||||||
- condition: state
|
|
||||||
entity_id: media_player.tsr_6750_a3ed2f
|
|
||||||
state: 'off'
|
|
||||||
action:
|
action:
|
||||||
- data:
|
- data:
|
||||||
entity_id: switch.croft_fan
|
entity_id: switch.croft_fan
|
||||||
|
@ -167,12 +164,13 @@
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: binary_sensor.kitchen_motion_motion
|
entity_id: binary_sensor.kitchen_motion
|
||||||
to: 'on'
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: script.kitchen_lights_night
|
|
||||||
- service: script.dog_mode_on
|
- service: script.dog_mode_on
|
||||||
- service: script.kitchen_lights_on
|
- service: script.kitchen_lights_on
|
||||||
|
- service: script.kitchen_lights_night
|
||||||
|
|
||||||
|
|
||||||
- id: driveway_motion_lighting
|
- id: driveway_motion_lighting
|
||||||
alias: Driveway Motion Lighting
|
alias: Driveway Motion Lighting
|
||||||
|
@ -187,76 +185,90 @@
|
||||||
state: 'below_horizon'
|
state: 'below_horizon'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
entity_id: switch.driveway_light_2
|
entity_id: switch.driveway_light
|
||||||
- delay:
|
- delay:
|
||||||
minutes: 3
|
minutes: 3
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
entity_id: switch.driveway_light_2
|
entity_id: switch.driveway_light
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- id: show_time
|
# - id: show_time
|
||||||
alias: Show Time
|
# alias: Show Time
|
||||||
initial_state: true
|
# initial_state: true
|
||||||
trigger:
|
# trigger:
|
||||||
- platform: state
|
# - platform: state
|
||||||
entity_id: media_player.home_theater
|
# entity_id: media_player.home_theater
|
||||||
to: 'playing'
|
# to: 'playing'
|
||||||
condition:
|
# condition:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: light.theater_light
|
# entity_id: light.theater_light
|
||||||
state: 'on'
|
# state: 'on'
|
||||||
action:
|
# action:
|
||||||
- service: script.turn_on
|
# - service: script.turn_on
|
||||||
entity_id: script.theater_lights_down
|
# entity_id: script.theater_lights_down
|
||||||
- service: script.turn_off
|
# - service: script.turn_off
|
||||||
entity_id: script.theater_lights_up
|
# entity_id: script.theater_lights_up
|
||||||
|
|
||||||
- id: show_time start paused
|
# - id: show_time start paused
|
||||||
alias: Show Time Start Paused
|
# alias: Show Time Start Paused
|
||||||
initial_state: true
|
# initial_state: true
|
||||||
trigger:
|
# trigger:
|
||||||
- platform: state
|
# - platform: state
|
||||||
entity_id: media_player.home_theater
|
# entity_id: media_player.home_theater
|
||||||
to: 'idle'
|
# to: 'idle'
|
||||||
condition:
|
# condition:
|
||||||
- condition: state
|
# - condition: state
|
||||||
entity_id: script.theater_lights_down
|
# entity_id: script.theater_lights_down
|
||||||
state: 'on'
|
# state: 'on'
|
||||||
action:
|
# action:
|
||||||
- service: script.turn_off
|
# - service: script.turn_off
|
||||||
entity_id: script.theater_lights_down
|
# entity_id: script.theater_lights_down
|
||||||
|
|
||||||
- id: show_time_over
|
- id: show_time_over
|
||||||
alias: Show Time over
|
alias: Show Time over
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: media_player.home_theater
|
entity_id: media_player.theater_tv
|
||||||
to: 'idle'
|
to: 'off'
|
||||||
for:
|
for:
|
||||||
seconds: 35
|
minutes: 20
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: media_player.home_theater
|
|
||||||
state: 'idle'
|
|
||||||
action:
|
action:
|
||||||
- service: script.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: script.theater_lights_up
|
entity_id: scene.theater_dark
|
||||||
- service: script.turn_off
|
|
||||||
entity_id: script.theater_lights_down
|
|
||||||
|
|
||||||
- id: theater_fan_on
|
- id: theater_fan_on
|
||||||
alias: Theater Fan On
|
alias: Theater Fan On
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- above: '74'
|
- above: 74
|
||||||
platform: numeric_state
|
platform: numeric_state
|
||||||
entity_id: sensor.theater_temperature
|
entity_id: sensor.theater_temperature
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: media_player.theater_tv
|
||||||
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- data:
|
- data:
|
||||||
entity_id: switch.theater_fan
|
entity_id: switch.theater_fan
|
||||||
service: switch.turn_off
|
service: switch.turn_on
|
||||||
|
|
||||||
|
- id: theater_fan_off
|
||||||
|
alias: Theater Fan Off
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
- below: 72
|
||||||
|
platform: numeric_state
|
||||||
|
entity_id: sensor.theater_temperature
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: media_player.theater_tv
|
||||||
|
state: 'off'
|
||||||
|
action:
|
||||||
|
- data:
|
||||||
|
entity_id: switch.theater_fan
|
||||||
|
service: switch.turn_on
|
||||||
|
|
||||||
- id: theater_light_pressed_up
|
- id: theater_light_pressed_up
|
||||||
alias: Theater Light Pressed Up
|
alias: Theater Light Pressed Up
|
||||||
|
|
Loading…
Reference in New Issue