mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-13 21:38:40 +00:00
Updated with Code location.
This commit is contained in:
parent
2fe908e16e
commit
d3119251db
@ -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 %}
|
||||
|
@ -1,3 +1,5 @@
|
||||
## These scripts are run from /home/pi
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
cd /home/hass/.homeassistant
|
||||
|
@ -1,3 +1,5 @@
|
||||
## These scripts are run from /home/pi
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
echo "Setting up Environment"
|
||||
|
@ -1,3 +1,5 @@
|
||||
## These scripts are run from /home/pi
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
cd /home/hass/.homeassistant
|
||||
|
@ -1,3 +1,5 @@
|
||||
## These scripts are run from /home/pi
|
||||
|
||||
#!/bin/bash
|
||||
cat hassuser
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user