From 1f245ac27a315099b7a78a91ae9102a3da0ba4d3 Mon Sep 17 00:00:00 2001 From: ccostan Date: Mon, 26 Feb 2018 12:04:46 -0500 Subject: [PATCH] Update TV Time automation --- README.md | 3 +-- automation/tv_time_on_and_off.yaml | 10 +++------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7b8e9e90..cede6931 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ As of 2018, I have migrated everything to a Docker based platform. You can read [Migration Blog Post](http://www.vmwareinfo.com/2018/02/journey-to-docker.html)
-### Notable Software on my Laptop Host: +#### Notable Software on my Laptop Host: * [Docker](https://Docker.com) - Docker runs on a Ubuntu Server Core base. [Docker-Compose.yaml](https://github.com/CCOSTAN/Docker_Support) * [Home Assistant Container](https://home-assistant.io/) - It all starts here. * The amazing [Floorplan](https://github.com/pkozul/ha-floorplan) project to help visualize my smarthome. @@ -281,7 +281,6 @@ The great outdoors can be automated too! Mainly lights but also the sprinkler s * (IFTTT) Add a 1 day rain delay to Rachio Sprinkler system if it is going to rain tomorrow also logged to MQTT. * (IFTTT) Blink ALL lights if Winds get to 70MPH - Hurricane warning. * Turn on some outdoor Lights at Sunset, Turn off 4 hours before sunrise. Turn off interior and backyardlights when we go to sleep. -* Colorize all Front Outdoor lights daily according to a Holiday schedule. diff --git a/automation/tv_time_on_and_off.yaml b/automation/tv_time_on_and_off.yaml index 1b02e1ec..f44aa484 100755 --- a/automation/tv_time_on_and_off.yaml +++ b/automation/tv_time_on_and_off.yaml @@ -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