gitops-zurrli/apps/camper/homeassistant/configmap.yaml

41 lines
946 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: configuration
data:
configuration.yaml: |
homeassistant:
name: Camper
latitude: 47.38507000
longitude: 8.42581000
elevation: 400
unit_system: metric
time_zone: Europe/Zurich
auth_providers:
- type: trusted_networks
trusted_networks:
- 192.168.3.0/24
allow_bypass_login: true
- type: homeassistant
default_config:
http:
ip_ban_enabled: false
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 10.42.0.0/16
recorder:
db_url: mysql://hass:hass@camper-mariadb.mariadb/hass?charset=utf8mb4
purge_keep_days: 90
automation: !include automations.yaml
mqtt: !include mqtt.yaml
sensor: !include sensors.yaml
template: !include templates.yaml
modbus: !include modbus.yaml
influxdb: !include influxdb.yaml