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: switch:
- host: '192.168.60.14' - host: '192.168.60.14'
calendar: #calendar:
- platform: caldav # - platform: caldav
url: https://cloud.grondek.pl/remote.php/dav # url: https://cloud.grondek.pl/remote.php/dav
username: pgrondek # username: pgrondek
password: !secret nextcloud_token # password: !secret nextcloud_token
ble_monitor: ble_monitor:
# Xiaomi BT Sensors # Xiaomi BT Sensors

View File

@ -1,4 +1,23 @@
--- ---
- hosts: localhost - hosts: localhost
roles: tasks:
- automations - 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