Add xmassTree switch for modes
This commit is contained in:
parent
9dbf754ec3
commit
02b328054c
@ -17,3 +17,11 @@
|
|||||||
template:
|
template:
|
||||||
src: 'water-plants-check.yaml.j2'
|
src: 'water-plants-check.yaml.j2'
|
||||||
dest: './build/scripts/water-plants-check.yaml'
|
dest: './build/scripts/water-plants-check.yaml'
|
||||||
|
|
||||||
|
- name: Build modes
|
||||||
|
delegate_to: localhost
|
||||||
|
template:
|
||||||
|
src: 'modes.yaml.j2'
|
||||||
|
dest: './build/scripts/modes.yaml'
|
||||||
|
vars:
|
||||||
|
xmasTree: true
|
||||||
|
@ -79,6 +79,10 @@ good_night:
|
|||||||
- light.balcony
|
- light.balcony
|
||||||
- light.table_lamp_lights
|
- light.table_lamp_lights
|
||||||
- light.lego_bookcase_light
|
- light.lego_bookcase_light
|
||||||
|
{% if xmasTree == true %}
|
||||||
|
- light.twinkly_1
|
||||||
|
- light.twinkly_2
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
good_morning:
|
good_morning:
|
||||||
alias: Good Morning
|
alias: Good Morning
|
||||||
@ -99,6 +103,12 @@ good_morning:
|
|||||||
target:
|
target:
|
||||||
entity_id: input_boolean.daily_coffee
|
entity_id: input_boolean.daily_coffee
|
||||||
- service: script.cctv_off
|
- service: script.cctv_off
|
||||||
|
{% if xmasTree == true %}
|
||||||
|
- service: light.turn_on
|
||||||
|
entity_id:
|
||||||
|
- light.twinkly_1
|
||||||
|
- light.twinkly_2
|
||||||
|
{% endif %}
|
||||||
- service: cover.open_cover
|
- service: cover.open_cover
|
||||||
entity_id:
|
entity_id:
|
||||||
- cover.bedroom_blinds
|
- cover.bedroom_blinds
|
||||||
@ -191,6 +201,10 @@ leave_home:
|
|||||||
- light.balcony
|
- light.balcony
|
||||||
- light.table_lamp_lights
|
- light.table_lamp_lights
|
||||||
- light.lego_bookcase_light
|
- light.lego_bookcase_light
|
||||||
|
{% if xmasTree == true %}
|
||||||
|
- light.twinkly_1
|
||||||
|
- light.twinkly_2
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
arrive_home:
|
arrive_home:
|
||||||
alias: Arrive Home
|
alias: Arrive Home
|
||||||
@ -218,3 +232,7 @@ arrive_home:
|
|||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.lego_bookcase_light
|
- light.lego_bookcase_light
|
||||||
|
{% if xmasTree == true %}
|
||||||
|
- light.twinkly_1
|
||||||
|
- light.twinkly_2
|
||||||
|
{% endif %}
|
Loading…
Reference in New Issue
Block a user