Newer
Older
homeassistant_config / configuration.yaml
# 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.stecamonitor: debug

recorder:
  commit_interval: 5
  purge_keep_days: 7
  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

spotcast:
  sp_dc: AQAhATYuWsLXQExlnAd9DxuJ7UJz2HTvnouTZ-8Ex__iRAnT2De697spQesUj0cC3BpAu_VEXloXyg3XP9WFyc-kyLylmqD4_GnaFBHaI2aNhw
  sp_key: 009ec0de-b75e-4c62-aaad-c2a67074e1bb
  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:
  util_solar_generated_usage_daily:
    source: sensor.energy_generated
    cycle: daily

  util_solar_generated_usage_monthly:
    source: sensor.energy_generated
    cycle: monthly

  util_water_usage_hourly:
    source: sensor.water_total
    cycle: hourly
  util_water_usage_daily:
    source: sensor.water_total
    cycle: daily
  util_water_usage_monthly:
    source: sensor.water_total
    cycle: monthly
  util_water_usage_yearly:
    source: sensor.water_total
    cycle: yearly