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