Comments and such

This commit is contained in:
Thomas Lovén 2019-01-13 00:48:26 +01:00
parent 43b27894f4
commit 68d533bd1c
12 changed files with 83 additions and 17 deletions

View File

@ -7,14 +7,16 @@ homeassistant:
time_zone: !secret timezone_home
unit_system: metric
# Everything important is here
packages: !include_dir_named packages
frontend:
discovery:
frontend:
history:
logbook:
config:
http:
# mydomain.com:443 - proxied by nginx to port 8123
base_url: !secret base_url
api_password: !secret api_password

View File

@ -1,16 +1,23 @@
homeassistant:
customize:
input_number.appd_dummy:
hidden: true
input_datetime.appd_dummy:
hidden: true
input_select.appd_dummy:
hidden: true
input_boolean.appd_dummy:
hidden: true
input_text.appd_dummy:
package.node_anchors:
common: &common
package: "cameras"
hidden: true
input_number.appd_dummy:
<<: *common
input_datetime.appd_dummy:
<<: *common
input_select.appd_dummy:
<<: *common
input_boolean.appd_dummy:
<<: *common
input_text.appd_dummy:
<<: *common
# Those things do nothing and will never be seen
# Their only purpose is to make sure the services used to controll the corresponding entity types are loaded.
input_number:
appd_dummy:
min: 0

View File

@ -3,6 +3,12 @@ homeassistant:
script.camera_ptz:
package: "camera_ptz"
# TODO: Merge into cameras.yaml
# Script to step an onvif camera in the given direction.
# Parameters:
# entity_id - camera entity
# dir - direction (left, right, up, down)
script:
camera_ptz:
sequence:

View File

@ -2,7 +2,7 @@ homeassistant:
customize:
package.node_anchors:
common: &common
package: 'cameras'
package: "cameras"
camera.kontor:
<<: *common
@ -52,6 +52,7 @@ camera:
username: !secret camera_barnrum_username
password: !secret camera_barnrum_password
# TODO: Move this to frontend
switch:
- platform: template
switches:

View File

@ -1,3 +1,14 @@
homeassistant:
customize:
package.node_anchors:
common: &common
package: "computers"
binary_sensor.arrakis:
<<: *common
automation.desk_lamp_follows_computer:
<<: *common
# Switched off/on when computer enters/leaves screen sleep
binary_sensor:
- platform: mqtt
state_topic: "computer/arrakis/on"

View File

@ -1,3 +1,14 @@
homeassistant:
customize:
package.node_anchors:
common: &common
package: "environment"
sensor.time:
<<: *common
sensor.date:
<<: *common
sensor:
- platform: time_date
display_options:

View File

@ -2,13 +2,29 @@ homeassistant:
customize:
package.node_anchors:
common: &common
package: lights
package: "lights"
grouped: &grouped
hidden: true
light.sovrum:
<<: *common
light.sovrum1:
<<: *grouped
light.sovrum2:
<<: *grouped
light.sovrum3:
<<: *grouped
light.takfläkt:
<<: *common
light.takflakt_1:
<<: *grouped
light.takflakt_2:
<<: *grouped
light.takflakt_3:
<<: *grouped
light.takflakt_4:
<<: *grouped
light:
- platform: group

View File

@ -1,6 +1,15 @@
homeassistant:
customize:
package.node_anchors:
common: &common
package: "computers"
shell_command.lovelace_gen:
<<: *common
lovelace:
mode: yaml
# Regenerate ui_lovelace.yaml
shell_command:
lovelace_gen: '(python /config/www/homeassistant-lovelace-gen/lovelace-gen.py && echo "OK" || echo "FAILED") > /config/lovelace-gen.log'

View File

@ -34,7 +34,6 @@ mysensors:
version: 2.0
# The power meter has two values for one sensor, and which one is logged is a bit random. Therefore replace it with a custom template sensor which always gets the correct value
sensor:
- platform: template
sensors:

View File

@ -4,6 +4,9 @@ homeassistant:
common: &common
package: 'reminders'
automation.rem__kaffet_ar_klart:
<<: *common
automation:
- alias: REM - Kaffet är klart
initial_state: True

View File

@ -14,7 +14,7 @@ homeassistant:
<<: *common
light.skotbord:
<<: *common
light.bokhyll:
light.bokhylla:
<<: *common
switch.motorvarmare:
<<: *common
@ -23,7 +23,6 @@ rflink:
host: !secret swarm_ip
port: !secret rflink_port
light:
- platform: rflink
automatic_add: false

View File

@ -1,4 +1,6 @@
tts:
- platform: google
language: 'sv'
# Use local address for tts in order to work with chromecasts
# http://<internal.ip.of.hass>:8123
base_url: !secret tts_base_url