Update automation to turn off tv at night
This commit is contained in:
parent
4ccff6bce7
commit
fcbe56f443
@ -29,7 +29,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: time
|
||||
at: "02:00:00"
|
||||
at: "01:30:00"
|
||||
action:
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
@ -44,9 +44,17 @@
|
||||
to: 'on'
|
||||
condition:
|
||||
- condition: time
|
||||
before: "06:00:00"
|
||||
after: "02:00:00"
|
||||
before: "09:00:00"
|
||||
after: "01:30:00"
|
||||
action:
|
||||
- service: media_player.turn_off
|
||||
target:
|
||||
entity_id: media_player.bedroom_tv
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.bedroom_tv
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.bedroom_lights
|
||||
- light.bed_lightstrip
|
||||
- light.bed_lamps
|
||||
|
@ -50,11 +50,10 @@ bedroom_all_lights_off:
|
||||
alias: '[Bedroom] All lights off'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id: light.bedroom_lights
|
||||
- service: light.turn_off
|
||||
entity_id: light.bed_lightstrip
|
||||
- service: light.turn_off
|
||||
entity_id: light.bed_lamps
|
||||
entity_id:
|
||||
- light.bedroom_lights
|
||||
- light.bed_lightstrip
|
||||
- light.bed_lamps
|
||||
|
||||
bedroom_bed_lamp_toggle:
|
||||
alias: '[Bedroom] Bed lamps toggle'
|
||||
|
Loading…
Reference in New Issue
Block a user