mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Update TV Time automation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user