Closes #418 - Backyard light dimmed when we are home and Bright when we are not home.

This commit is contained in:
ccostan 2018-10-10 21:38:18 -04:00
parent 37342edfdf
commit 27ab6dd86a
4 changed files with 14 additions and 4 deletions

View File

@ -47,13 +47,18 @@
- service: homeassistant.turn_on
entity_id:
- switch.front_landscaping
- light.bedroom
- service: script.monthly_color_scene
- service: light.turn_on
entity_id:
- light.outdoor_bathroom
- light.bedroom
data:
brightness: 10
data_template:
brightness: >
{% if states.group.family.state == 'home' -%}
10
{% else %}
200
{% endif %}
- wait_template: >-
{{ states.group.family.state == 'home' }}
- service: switch.turn_on

View File

@ -32,6 +32,11 @@
- light.M1_front_right
- light.S1
- light.S4
- service: light.turn_on
entity_id:
- light.outdoor_bathroom
data:
brightness: 10
- service: switch.turn_on
entity_id:
- switch.kitchen_accents

View File

@ -1,5 +1,5 @@
homeassistant:
name: Bear Stone Run
name: Bear Stone
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 151 KiB