Update TV Time automation

This commit is contained in:
ccostan
2018-02-26 12:04:46 -05:00
parent bc1ddd06d5
commit 1f245ac27a
2 changed files with 4 additions and 9 deletions

View File

@@ -8,10 +8,6 @@
entity_id: input_boolean.TV_time
to: 'on'
from: 'off'
- platform: state
entity_id: sensor.samsungtv
to: 'Online'
from: 'Offline'
- platform: state
entity_id: sun.sun
to: 'below_horizon'
@@ -29,9 +25,6 @@
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: sensor.samsungtv
state: 'Online'
- condition: state
entity_id: sun.sun
state: 'below_horizon'
@@ -40,6 +33,9 @@
state: 'off'
- condition: time
after: '20:00:00'
- condition: state
entity_id: media_player.living_room_ultra
state: 'playing'
action:
- service: input_boolean.turn_off