66 lines
1.4 KiB
YAML
66 lines
1.4 KiB
YAML
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
default_config:
|
|
|
|
shell_command:
|
|
blue_led_off: /bin/echo none > /sys/class/leds/c2:blue:alive/trigger
|
|
|
|
# Text to speech
|
|
tts:
|
|
- platform: google_translate
|
|
language: "cs"
|
|
|
|
group: !include groups.yaml
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
template: !include template.yaml
|
|
sensor: !include sensors.yaml
|
|
|
|
http:
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 192.168.88.10
|
|
|
|
# MariaDB - 30 day data
|
|
recorder:
|
|
db_url: !secret mariadb_url
|
|
purge_keep_days: 30
|
|
commit_interval: 20
|
|
|
|
history:
|
|
|
|
# InfluxDB - Long-term data
|
|
influxdb:
|
|
api_version: 2
|
|
ssl: false
|
|
host: 192.168.88.10
|
|
port: 8086
|
|
token: !secret influxdb_token
|
|
organization: habad
|
|
bucket: homeassistant
|
|
tags:
|
|
source: HomeAssistant
|
|
tags_attributes:
|
|
- friendly_name
|
|
default_measurement: units
|
|
|
|
# Obývák / hlavní světlo
|
|
light:
|
|
- platform: group
|
|
name: Obývák
|
|
entities:
|
|
- light.0xb4e3f9fffe102c1f
|
|
- light.0xb4e3f9fffe102c12
|
|
- light.0x84fd27fffe80415b
|
|
- light.0x84fd27fffed7b8a4
|
|
|
|
camera:
|
|
- platform: xiaomi_cloud_map_extractor
|
|
host: 192.168.88.22
|
|
token: !secret xiaomi_vacuum_token
|
|
username: !secret xiaomi_cloud_username
|
|
password: !secret xiaomi_cloud_password
|
|
draw: ["all"]
|
|
attributes:
|
|
- calibration_points
|