diff --git a/home-assistant/configuration.yaml b/home-assistant/configuration.yaml new file mode 100644 index 0000000..761ed21 --- /dev/null +++ b/home-assistant/configuration.yaml @@ -0,0 +1,69 @@ +# Loads default set of integrations. Do not remove. +default_config: + +# Load frontend themes from the themes folder +frontend: + themes: !include_dir_merge_named themes + +automation: !include automations.yaml +script: !include scripts.yaml +scene: !include scenes.yaml +#####Fin conf init + +http: + server_port: 8234 + use_x_forwarded_for: true + trusted_proxies: + - 192.168.42.0/24 + +## Notifications +notify: + # Synology chat + - platform: synology_chat + name: Gerardo + resource: !secret syno_chat_res + verify_ssl: false + + - platform: rest + name: gotify_notify + resource: http://192.168.42.10:7683/message + method: POST + headers: + X-Gotify-Key: "A2lcZFjpJXRGhz9" + message_param_name: message + title_param_name: title + data: + priority: 5 + +prometheus: + namespace: gerald + +# Wake On LAN +wake_on_lan: + - mac: "A4:BB:6D:88:A9:2D" + - host: "192.168.42.10" + - name: "Idefix" + +## SWITCHS +# WAL +switch: + - platform: wake_on_lan + mac: "A4:BB:6D:88:A9:2D" + name: "Idefix" + +# Emulateur Zigbee +emulated_hue: + type: alexa + host_ip: 192.168.42.14 + listen_port: 80 + expose_by_default: false + entities: + light.lampadaire: + name: "Lampadaire" + hidden: false + +template: + - sensor: + - name: "timer_ch_duration" + state: "{{ (states('input_number.timer_ch') | int * 60) | int }}" + unit_of_measurement: "seconds"