1
0

Reorganize files

This commit is contained in:
pgrondek 2021-05-24 20:26:03 +02:00
parent 27b73ffc0e
commit d79f64c060
37 changed files with 26 additions and 29 deletions

View File

@ -1,5 +0,0 @@
---
- name: Build lights automations
template:
src: lights.yaml.j2
dest: build/automations/lights.yaml

View File

@ -1,17 +0,0 @@
---
# vars file for automations
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.computer_computer_cave_background
name: Computer Computer Cave Background
- entityId: light.couch_lamp
name: Couch lamp

View File

@ -166,11 +166,11 @@ tplink:
switch:
- host: '192.168.60.14'
calendar:
- platform: caldav
url: https://cloud.grondek.pl/remote.php/dav
username: pgrondek
password: !secret nextcloud_token
#calendar:
# - platform: caldav
# url: https://cloud.grondek.pl/remote.php/dav
# username: pgrondek
# password: !secret nextcloud_token
ble_monitor:
# Xiaomi BT Sensors

View File

@ -1,4 +1,23 @@
---
- hosts: localhost
roles:
- automations
tasks:
- name: Build lights automations
template:
src: lights.yaml.j2
dest: 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.computer_computer_cave_background
name: Computer Computer Cave Background
- entityId: light.couch_lamp
name: Couch lamp