Updated with Code location.

This commit is contained in:
CCOSTAN 2017-02-03 01:34:40 +00:00
parent 2fe908e16e
commit d3119251db
5 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
############################################################################## ##############################################################################
### Detect when lights are turned on and adjust them accordingly based on time. ### 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 - alias: detect_light_between 5am and 8am
trigger: trigger:
@ -38,7 +38,9 @@
50 50
{%- elif hour >= 8 or hour <20 -%} {%- elif hour >= 8 or hour <20 -%}
255 255
{%- elif hour >= 20 or hour <24 -%}
40
{%- else -%} {%- else -%}
35 20
{%- endif %} {%- endif %}

View File

@ -1,3 +1,5 @@
## These scripts are run from /home/pi
#!/bin/bash #!/bin/bash
cd /home/hass/.homeassistant cd /home/hass/.homeassistant

View File

@ -1,3 +1,5 @@
## These scripts are run from /home/pi
#!/bin/bash #!/bin/bash
echo "Setting up Environment" echo "Setting up Environment"

View File

@ -1,3 +1,5 @@
## These scripts are run from /home/pi
#!/bin/bash #!/bin/bash
cd /home/hass/.homeassistant cd /home/hass/.homeassistant

View File

@ -1,3 +1,5 @@
## These scripts are run from /home/pi
#!/bin/bash #!/bin/bash
cat hassuser cat hassuser