Newer
Older
homeassistant_config / configuration.yaml
@Rolf Bagge Rolf Bagge on 3 Dec 2022 2 KB Updates
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

group: !include groups.yaml
automation ui: !include automations.yaml
automation manual: !include_dir_list automations/
script ui: !include scripts.yaml
scene: !include scenes.yaml
light: !include lights.yaml

mqtt:
  sensor: !include_dir_merge_list mqtt/

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 10.0.1.98

logger:
  default: warn
  logs:
    custom_components.localtuya: critical

recorder:
  commit_interval: 5
  purge_keep_days: 30
  exclude:
    domains:
      - group
      - history_graph
      - media_player
      - zone
      - automation
      - script
      - light
      - camera
      - updater
      - weather
      - device_tracker
    entities:
      - sun.sun

history:
  exclude:
    domains:
      - group
      - history_graph
      - media_player
      - zone
      - automation
      - script
      - light
      - camera
      - updater
      - weather
      - device_tracker
    entities:
      - sun.sun

logbook:
  exclude:
    domains:
      - group
      - history_graph
      - media_player
      - zone
      - automation
      - script
      - light
      - camera
      - updater
      - weather
      - device_tracker
    entities:
      - sun.sun

frontend:
  themes: !include_dir_merge_named themes/
  extra_module_url:
    - /hacsfiles/lovelace-card-mod/card-mod.js

tts:
  - platform: google_translate

ourgroceries:
  username: !secret our_groceries_username
  password: !secret our_groceries_password

spotcast:
  sp_dc: !secret spotify_dc
  sp_key: !secret spotify_key
  country: DK

camera: !include_dir_merge_list camera/

influxdb:
  host: a0d7b954-influxdb
  port: 8086
  database: homeassistant
  username: homeassistant
  password: homeassistant
  max_retries: 3
  default_measurement: state

fuelprices_dk:
  fueltypes:
    - oktan 95

stecamonitor:
  ip: 10.0.1.4

sensor: !include_dir_merge_list sensors/

template: !include_dir_merge_list template/

input_number:
  grill_probe_1_target:
    name: iGrill Target Temp
    initial: 54
    min: 0
    max: 120
    step: 1

input_boolean:
  lights_state:
    name: Wether lights have been turned off

utility_meter: !include_dir_merge_named utility_meter/

lovelace:
  mode: storage
  dashboards:
    lovelace-yaml:
      mode: yaml
      filename: dashboards/minimal/dashboard.yaml
      title: New
      icon: mdi:view-dashboard-outline
      show_in_sidebar: true