voici mon fichier configuration.yaml
homeassistant:
# authorise d'utiliser les fichiers
allowlist_external_dirs:
- /config
- /share
# configuration par default
default_config:
# voie si un jpg à été ajouté
folder_watcher:
- folder: /share
patterns:
- '*.jpg'
#############################
######## google ##########
#############################
tts:
- platform: google_translate
service_name: google_say
language: 'fr'
google:
client_id: !secret YOUR_CLIENT_ID
client_secret: !secret YOUR_CLIENT_SECRET
#############################
######## include ##########
#############################
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
device_tracker: !include device_tracker.yaml
input_text: !include input_text.yaml
binary_sensor: !include binary_sensor.yaml
sensor: !include sensor.yaml
climate: !include climate.yaml
input_boolean: !include input_boolean.yaml
input_datetime: !include input_datetime.yaml
input_number: !include input_number.yaml
input_select: !include input_select.yaml
notify: !include notify.yaml
alarm_control_panel: !include alarm_control_panel.yaml
light: !include light.yaml
rest_command: !include rest_command.yaml
remote_homeassistant: !include remote_homeassistant.yaml
#############################
######## cameras ##########
#############################
camera:
- platform: ffmpeg
name: camera_entréé
input: !secret rstp1
#############################
######### http ##########
#############################
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
#############################
######## freebox ##########
#############################
freebox:
host: !secret YOUR_CLIENT_ID_free
port: !secret port
#############################
###### media player #########
#############################
# media_player:
# platform: mpd
# host: !secret host
#############################
######## divers ##########
#############################
# purge l'historique plus veille de 5 jours
recorder:
purge_keep_days: 5
auto_purge: true
#############################
######## suite ##########
#############################