2021-08-24 13:08:35 +02:00
|
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
|
|
default_config:
|
|
|
|
|
|
|
|
# Enable SSL/TLS
|
|
|
|
http:
|
|
|
|
server_port: 443
|
|
|
|
ssl_certificate: /ssl/fullchain.pem
|
|
|
|
ssl_key: /ssl/privkey.pem
|
|
|
|
|
|
|
|
# Text to speech
|
|
|
|
tts:
|
|
|
|
- platform: google_translate
|
|
|
|
|
|
|
|
# Include modules
|
|
|
|
group: !include groups.yaml
|
|
|
|
automation: !include automations.yaml
|
|
|
|
automation wled: !include automations_wled.yaml
|
|
|
|
automation webhooks: !include automations_webhooks.yaml
|
|
|
|
script: !include scripts.yaml
|
|
|
|
scene: !include scenes.yaml
|
|
|
|
|
|
|
|
# Enable additional integrations
|
|
|
|
# Enable 'wake_on_lan' intrgration
|
|
|
|
wake_on_lan:
|
|
|
|
# Configure LG WebOS TV integration
|
|
|
|
webostv: !include webostv.yaml
|
|
|
|
|
|
|
|
# Enable customizations
|
|
|
|
homeassistant:
|
|
|
|
customize: !include customize.yaml
|
|
|
|
|
2021-09-06 15:55:43 +02:00
|
|
|
# Include helpers
|
|
|
|
input_number: !include input_number.yaml
|
|
|
|
|
2021-08-24 13:08:35 +02:00
|
|
|
# Spotify
|
|
|
|
spotify: !include spotify.yaml
|
|
|
|
|
|
|
|
# Additional sensors
|
|
|
|
sensor: !include sensors.yaml
|
|
|
|
|
|
|
|
# Template sensors
|
|
|
|
template:
|
|
|
|
- sensor:
|
|
|
|
- name: "Line Power Total"
|
|
|
|
unit_of_measurement: "W"
|
|
|
|
icon: mdi:flash
|
|
|
|
state: >
|
|
|
|
{% set phase_a = states('sensor.line_power_channel_a_power') | float %}
|
|
|
|
{% set phase_b = states('sensor.line_power_channel_b_power') | float %}
|
|
|
|
{% set phase_c = states('sensor.line_power_channel_c_power') | float %}
|
|
|
|
{{ (phase_a + phase_b + phase_c) | round(1) }}
|
|
|
|
|
|
|
|
# calendar integration
|
|
|
|
calendar: !include calendars.yaml
|
|
|
|
|
|
|
|
# DB-recorder configuration
|
|
|
|
recorder: !include recorder.yaml
|
2021-09-08 21:26:09 +02:00
|
|
|
|
|
|
|
# Bluetooth Low Energy tracker
|
|
|
|
device_tracker:
|
|
|
|
- platform: bluetooth_le_tracker
|
|
|
|
track_new_devices: true
|