Newer
Older
homeassistant_config / configuration.yaml
@root root on 30 Aug 2022 3 KB Fixed deprecated config

# 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

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 10.0.1.98

logger:
  default: info
  logs:
    custom_components.hacs: debug
    hacs: debug
    queueman: debug
    AIOGitHubAPI: debug

recorder:
  exclude:
    domains:
      - group
      - history_graph
      - media_player
      - zone
      - automation
      - script
      - light
      - camera

history:
  exclude:
    domains:
      - group
      - history_graph
      - media_player
      - zone
      - automation
      - script
      - light
      - camera

logbook:
  exclude:
    domains:
      - group
      - history_graph
      - media_player
      - zone
      - automation
      - script
      - light
      - camera
      
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:
  - platform: xiaomi_cloud_map_extractor
    host: 10.0.1.103
    token: 42464e4350587248734d6c7a66697742
    username: rolf@fambagge.dk
    password: J-zyGAaVGdh-UZlC
    country: de
    draw: ['all']
    scan_interval: 10
    colors:
        color_map_outside: [19, 87, 148]
        color_grey_wall: [19, 87, 148]
    room_colors:
        #Outside rooms:26,1,19
        1: [19, 87, 148]
        19: [19, 87, 148]
        26: [19, 87, 148]
        #Room numbers: 18,23,22,20,16,24,25,21,17
        18: [240, 178, 122]
        23: [133, 193, 233]
        22: [217, 136, 128]
        20: [52, 152, 219]
        16: [205, 97, 85]
        24: [243, 156, 18]
        25: [88, 214, 141]
        21: [245, 176, 65]
        17: [252, 212, 81]
    map_transformation:
      trim:
        top: 20
        bottom: 22
        left: 15
        right: 17
    attributes:
      - calibration_points
      - vacuum_position

influxdb:
  host: a0d7b954-influxdb
  port: 8086
  database: homeassistant
  username: homeassistant
  password: homeassistant
  max_retries: 3
  default_measurement: state
        
fuelprices_dk:
  fueltypes:
    - oktan 95

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_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