Closes #418 - Backyard light dimmed when we are home and Bright when we are not home.
This commit is contained in:
parent
37342edfdf
commit
27ab6dd86a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 |
Loading…
Reference in New Issue