# Example configuration.yaml entry default_config: python_script: logger: default: info # Load frontend themes from the themes folder frontend: themes: !include_dir_merge_named themes #homeassistant: !include homeassistant.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml mqtt: !include mqtt.yaml climate: !include climate.yaml switch: !include switches.yaml #template: !include template.yaml # Example configuration.yaml entry media_player: - platform: "vlc" recorder: db_url: !secret postgresdb # параметры подключения к БД db_max_retries: 30 # Количество попыток подключения регистратора к БД db_retry_wait: 10 # Время (сек) ожидания подключения к БД auto_purge: false # Автоматическая еженочная очистка БД в 04:12 auto_repack: false # Автоматически переупаковывайте БД каждое воскресенье purge_keep_days: 365 # Срок (дней) хранения истории после очистки commit_interval: 5 # Частота (сек) фиксации события и изменения состояния в БД