2af639deb4
Merge with white temperature automations
26 lines
760 B
YAML
26 lines
760 B
YAML
---
|
|
- hosts: localhost
|
|
tasks:
|
|
- name: Build lights automations
|
|
template:
|
|
src: lights.yaml.j2
|
|
dest: configuration/automations/lights.yaml
|
|
vars:
|
|
lights:
|
|
- entityId: light.bathroom_lights
|
|
name: Bathroom Lights
|
|
- entityId: light.computer_lights
|
|
name: Computer Lights
|
|
- entityId: light.kitchen_lights
|
|
name: Kitchen Lights
|
|
- entityId: light.shower_lights
|
|
name: Shower Lights
|
|
- entityId: light.tv_lights
|
|
name: TV Lights
|
|
- entityId: light.desk_lightbar
|
|
name: Desk Lightbar
|
|
- name: Concat scripts
|
|
ansible.builtin.assemble:
|
|
src: scripts
|
|
dest: configuration/scripts.yaml
|