98 lines
2.2 KiB
YAML
98 lines
2.2 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"
|
|
|
|
# Example configuration.yaml entry
|
|
google_assistant:
|
|
project_id: home-assistant-65612
|
|
service_account: !include home-assistant-65612-d69ecfd0f735.json
|
|
report_state: true
|
|
|
|
homeassistant:
|
|
customize: !include customize.yaml
|
|
customize_domain: !include customize_domain.yaml
|
|
customize_glob: !include customize_glob.yaml
|
|
|
|
group: !include groups.yaml
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
template: !include template.yaml
|
|
sensor: !include sensors.yaml
|
|
input_select: !include input_select.yaml
|
|
#var: !include var.yaml
|
|
|
|
http:
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 192.168.88.10
|
|
|
|
logger:
|
|
default: info
|
|
logs:
|
|
custom_components.xiaomi_cloud_map_extractor: debug
|
|
|
|
# MariaDB - 30 day data
|
|
recorder:
|
|
db_url: !secret mariadb_url
|
|
purge_keep_days: 7
|
|
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.livingroom_mainlight_aquarium
|
|
- light.livingroom_mainlight_gramophone
|
|
- light.livingroom_mainlight_library
|
|
- light.livingroom_mainlight_fireplace
|
|
|
|
camera:
|
|
- platform: xiaomi_cloud_map_extractor
|
|
host: !secret xiaomi_vacuum_host
|
|
token: !secret xiaomi_vacuum_token
|
|
username: !secret xiaomi_cloud_username
|
|
password: !secret xiaomi_cloud_password
|
|
draw: ["all"]
|
|
attributes:
|
|
- calibration_points
|
|
map_transformation:
|
|
scale: 2
|
|
rotate: 90
|
|
trim:
|
|
top: 20
|
|
bottom: 20
|
|
left: 20
|
|
right: 20
|
|
scan_interval:
|
|
seconds: 300
|
|
auto_update: false
|
|
store_map_raw: true
|
|
store_map_image: true
|
|
store_map_path: "/tmp"
|