2024-08-20 23:16:31 +00:00
|
|
|
- name: Build lights automations
|
|
|
|
delegate_to: localhost
|
|
|
|
template:
|
|
|
|
src: lights.yaml.j2
|
|
|
|
dest: './build/automations/lights.yaml'
|
|
|
|
|
|
|
|
- name: Build music button automations
|
|
|
|
delegate_to: localhost
|
|
|
|
template:
|
|
|
|
src: music-button.yaml.j2
|
|
|
|
dest: './build/automations/music.yaml'
|
|
|
|
vars:
|
|
|
|
room: Bathroom
|
|
|
|
room_id: bathroom
|
|
|
|
device_id: ea9059ad2df037a012ab01a575108dc5
|
|
|
|
player_entity_id: media_player.bathroom
|
|
|
|
|
|
|
|
- name: Build unavailable automations ZHA
|
|
|
|
delegate_to: localhost
|
|
|
|
template:
|
|
|
|
src: unavailable-zha.yaml.j2
|
|
|
|
dest: './build/automations/unavailable-zha.yaml'
|
|
|
|
vars:
|
2024-08-20 23:22:37 +00:00
|
|
|
devices: "{{ zha_devices }}"
|
2024-08-20 23:16:31 +00:00
|
|
|
|
|
|
|
- name: Build unavailable automations Z-Wave
|
|
|
|
delegate_to: localhost
|
|
|
|
template:
|
|
|
|
src: unavailable-zwave.yaml.j2
|
|
|
|
dest: './build/automations/unavailable-zwave.yaml'
|
|
|
|
vars:
|
2024-08-20 23:22:37 +00:00
|
|
|
devices: "{{ zwave_devices }}"
|
2024-08-20 23:16:31 +00:00
|
|
|
|
|
|
|
- name: Build battery info automations
|
|
|
|
delegate_to: localhost
|
|
|
|
template:
|
|
|
|
src: low-battery.yaml.j2
|
|
|
|
dest: './build/automations/low-battery.yaml'
|
|
|
|
vars:
|
|
|
|
entities: "{{ battery }}"
|