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 time_zone: !secret timezone_home
unit_system: metric unit_system: metric
# Everything important is here
packages: !include_dir_named packages packages: !include_dir_named packages
frontend:
discovery: discovery:
frontend:
history: history:
logbook: logbook:
config: config:
http: http:
# mydomain.com:443 - proxied by nginx to port 8123
base_url: !secret base_url base_url: !secret base_url
api_password: !secret api_password api_password: !secret api_password

View File

@ -1,16 +1,23 @@
homeassistant: homeassistant:
customize: customize:
input_number.appd_dummy: package.node_anchors:
hidden: true common: &common
input_datetime.appd_dummy: package: "cameras"
hidden: true
input_select.appd_dummy:
hidden: true
input_boolean.appd_dummy:
hidden: true
input_text.appd_dummy:
hidden: true 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: input_number:
appd_dummy: appd_dummy:
min: 0 min: 0

View File

@ -3,6 +3,12 @@ homeassistant:
script.camera_ptz: script.camera_ptz:
package: "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: script:
camera_ptz: camera_ptz:
sequence: sequence:

View File

@ -2,7 +2,7 @@ homeassistant:
customize: customize:
package.node_anchors: package.node_anchors:
common: &common common: &common
package: 'cameras' package: "cameras"
camera.kontor: camera.kontor:
<<: *common <<: *common
@ -52,6 +52,7 @@ camera:
username: !secret camera_barnrum_username username: !secret camera_barnrum_username
password: !secret camera_barnrum_password password: !secret camera_barnrum_password
# TODO: Move this to frontend
switch: switch:
- platform: template - platform: template
switches: 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: binary_sensor:
- platform: mqtt - platform: mqtt
state_topic: "computer/arrakis/on" 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: sensor:
- platform: time_date - platform: time_date
display_options: display_options:

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,6 @@
tts: tts:
- platform: google - platform: google
language: 'sv' 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 base_url: !secret tts_base_url