Files
ha_config/configuration.yaml

92 lines
2.2 KiB
YAML

# Loads default set of integrations. Do not remove.
default_config:
homeassistant:
internal_url: "http://192.168.0.87:8123"
external_url: "https://ha.solusar.de"
country: DE
auth_mfa_modules:
- type: totp
name: "Authenticator app"
- type: notify
message: "I almost forget, to get into my clubhouse, you need to say {}"
auth_providers:
- type: trusted_networks
trusted_networks:
- 192.168.0.0/24
- 127.0.0.1
- ::1
allow_bypass_login: true
- type: homeassistant
customize:
sensor.lepus3_060_lepus_zaehlerstand_total:
device_class: energy
unit_of_measurement: "Wh"
state_class: total_increasing
sensor.lepus3_060_lepus_wirkenergie_total:
device_class: energy
unit_of_measurement: "Wh"
state_class: total_increasing
sensor.lepus3_060_lepus_e_in:
device_class: energy
unit_of_measurement: "kWh"
state_class: total_increasing
sensor.lepus3_060_lepus_e_out:
device_class: energy
unit_of_measurement: "kWh"
state_class: total_increasing
allowlist_external_dirs:
- /tmp
packages:
mtec: !include mtec.yaml
mtec_db: !include mtec_sql_postgre.yaml
# Text to speech
tts:
- platform: google_translate
http:
use_x_forwarded_for: true
trusted_proxies:
- 192.168.0.27 # Add the IP address of the proxy server
- 192.168.0.0/24 # trusted network
- 172.0.0.0/8
ip_ban_enabled: true
login_attempts_threshold: 3
logger:
default: warning
# logs:
# pydeconz: debug
# homeassistant.components.deconz: debug
#notify:
# - platform: synology_chat
# name: hass_synchat
# verify_ssl: false
# resource: https://realm.solusar.de:5001/webapi/entry.cgi?api=SYNO.Chat.External&method=incoming&version=2&token=%22okeKTH4iySRNb8g34muKKnh6MwVZ79TkYu6W57oQst1KOcVbD1cMOY9DMv57vZyp%22
#emulated_hue:
# listen_port: 80
# host_ip: 192.168.0.87
# expose_by_default: true
# exposed_domains:
# - light
# - smartplug
# entities:
# includes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
rest: !include rest.yaml
template: !include template.yaml