From d3119251dba172c25a9416dd7a9c1bb2cc343acf Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 3 Feb 2017 01:34:40 +0000 Subject: [PATCH] Updated with Code location. --- automation/detect_and_adjust_lights.yaml | 6 ++++-- shell_scripts/HAUpdate.sh | 2 ++ shell_scripts/HAUpdateDev.sh | 2 ++ shell_scripts/gitupdate.sh | 2 ++ shell_scripts/hassuser.sh | 2 ++ 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/automation/detect_and_adjust_lights.yaml b/automation/detect_and_adjust_lights.yaml index 6b9109ab..4e3b9cf0 100755 --- a/automation/detect_and_adjust_lights.yaml +++ b/automation/detect_and_adjust_lights.yaml @@ -1,6 +1,6 @@ ############################################################################## ### Detect when lights are turned on and adjust them accordingly based on time. -### Here is 8pm to 5am +### Code by @JesseWebDotCom ############################################################################## - alias: detect_light_between 5am and 8am trigger: @@ -38,7 +38,9 @@ 50 {%- elif hour >= 8 or hour <20 -%} 255 + {%- elif hour >= 20 or hour <24 -%} + 40 {%- else -%} - 35 + 20 {%- endif %} \ No newline at end of file diff --git a/shell_scripts/HAUpdate.sh b/shell_scripts/HAUpdate.sh index efd9d0c8..0a9d9ad0 100755 --- a/shell_scripts/HAUpdate.sh +++ b/shell_scripts/HAUpdate.sh @@ -1,3 +1,5 @@ +## These scripts are run from /home/pi + #!/bin/bash cd /home/hass/.homeassistant diff --git a/shell_scripts/HAUpdateDev.sh b/shell_scripts/HAUpdateDev.sh index 7574c77c..d3e86a43 100755 --- a/shell_scripts/HAUpdateDev.sh +++ b/shell_scripts/HAUpdateDev.sh @@ -1,3 +1,5 @@ +## These scripts are run from /home/pi + #!/bin/bash echo "Setting up Environment" diff --git a/shell_scripts/gitupdate.sh b/shell_scripts/gitupdate.sh index b4b42020..06606526 100755 --- a/shell_scripts/gitupdate.sh +++ b/shell_scripts/gitupdate.sh @@ -1,3 +1,5 @@ +## These scripts are run from /home/pi + #!/bin/bash cd /home/hass/.homeassistant diff --git a/shell_scripts/hassuser.sh b/shell_scripts/hassuser.sh index 8ab7c7d4..44b7db5d 100755 --- a/shell_scripts/hassuser.sh +++ b/shell_scripts/hassuser.sh @@ -1,3 +1,5 @@ +## These scripts are run from /home/pi + #!/bin/bash cat hassuser