Files
homeassistant_config/config/configuration.yaml
2024-05-31 09:39:52 +02:00

99 lines
2.5 KiB
YAML

homeassistant:
# auth_providers:
# - type: trusted_networks
# trusted_networks:
# - 10.0.0.128
# - 10.0.0.113
# - 10.0.0.216
# - 10.0.0.217
# - 10.0.0.1
# allow_bypass_login: true
# allowlist_external_dirs:
# - /config/capture
customize: !include customize.yaml
packages: !include_dir_named packages
http: #si cette balise n'existe pas, ajoutez la, sinon ajouter seulement la suite (pas de duplication)
use_x_forwarded_for: true
trusted_proxies:
- 10.0.0.16
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
zone:
- name: Travail
latitude: 45.26994161017957
longitude: 4.111876806976284
radius: 200
icon: mdi:factory
# This will override the default home zone
- name: home
latitude: 45.14203329491988
longitude: 4.075071876335187
radius: 20
icon: mdi:home
- name: Near_Home
latitude: 45.14203329491988
longitude: 4.075071876335187
radius: 200
icon: mdi:broadcast
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
group: !include groups.yaml
automation old: !include_dir_merge_list automation/
switch: !include_dir_merge_list 01capteur/switch/
light: !include_dir_merge_list 01capteur/light/
sensor: !include_dir_merge_list 01capteur/sensor/
binary_sensor: !include_dir_merge_list 01capteur/binary_sensor/
template: !include_dir_merge_list 01capteur/template/
cover: !include_dir_merge_list 01capteur/cover/
mqtt: !include 01capteur/mqtt/mqtt.yaml
device_tracker: !include_dir_merge_list 01capteur/device_tracker/
#openhasp: !include 01capteur/openhasp.yaml
irrigation_unlimited: !include 01capteur/irrigation.yaml
shell_command: !include 01capteur/shell_commands.yaml
#modbus: !include_dir_merge_list 01capteur/modbus/
#recorder: !include_dir_merge_list 01capteur/recorder/
duckdns:
domain: maison43
access_token: 0fd20557-743c-41da-858e-724143602751
recorder:
db_url: mysql://homeassistant:homeassistant@core-mariadb/homeassistant?charset=utf8mb4
purge_keep_days: 30
auto_purge: true
auto_repack: true
commit_interval: 5
alarm_control_panel:
- platform: manual
name: Home Alarm
code: "1974"
arming_time: 30
delay_time: 20
trigger_time: 4
disarmed:
trigger_time: 0
armed_home:
arming_time: 0
delay_time: 0
armed_night:
arming_time: 0
delay_time: 0
api:
wake_on_lan: