From afebf41d3a106b6336020239e5363ea98b049e78 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 15 Nov 2016 01:00:24 +0000 Subject: [PATCH] Update some minor things .. Names, etc.. --- Misc Stuff.md | 16 +++++++++++++++- README.md | 1 + automation/sunrise_turnon_and_off.yaml | 7 +++++-- sensor/systemmonitor.yaml | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/Misc Stuff.md b/Misc Stuff.md index 6997dd1e..b950fb96 100755 --- a/Misc Stuff.md +++ b/Misc Stuff.md @@ -52,4 +52,18 @@ action: data: effect: random transition: 1 - brightness: 255` \ No newline at end of file + brightness: 255 + + +alias: 'Autoadjust Bedroom Lights After Sunset' +trigger: + - platform: numeric_state + entity_id: light.bedroom_light_1 + value_template: '{{ state.attributes.brightness }}' + above: 140 +condition: + condition: state + entity_id: sun.sun + state: below_horizon +action: + - service: script.bedroom_lights_fade_down_to_50_percent \ No newline at end of file diff --git a/README.md b/README.md index ad28d1d0..2774a3ee 100755 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ Software on the Pi : [Home Assistant](https://home-assistant.io/) , [Dasher](htt #Todo List * Configure the Alexa Component. +* Turn on Accent lights when TV is sensed on. * Put Dash Buttons out there. * Put door sensor on garage door ([Garadget](garadget.com) is on the way!) * Put Door Sensor in Mailbox diff --git a/automation/sunrise_turnon_and_off.yaml b/automation/sunrise_turnon_and_off.yaml index 6b3dfaf8..01406ddc 100755 --- a/automation/sunrise_turnon_and_off.yaml +++ b/automation/sunrise_turnon_and_off.yaml @@ -32,5 +32,8 @@ - service: switch.turn_off entity_id: switch.foyer_outlet - service: light.turn_off - entity_id: group.outdoor_lights - \ No newline at end of file + entity_id: light.outdoor_foyer + - service: light.turn_off + entity_id: light.pool_bathroom + - service: light.turn_off + entity_id: group.outdoor_lights \ No newline at end of file diff --git a/sensor/systemmonitor.yaml b/sensor/systemmonitor.yaml index 6f58bbca..e9473580 100755 --- a/sensor/systemmonitor.yaml +++ b/sensor/systemmonitor.yaml @@ -1,5 +1,5 @@ - platform: command_line - command: "grep -c invalidpassword /home/hass/.homeassistant/home-assistant.log" + command: "grep -c 'Login attempt' /home/hass/.homeassistant/home-assistant.log" name: badlogin - platform: systemmonitor