Files
apagado_seguro/config/configuration.yaml
T
2026-07-21 12:37:30 +02:00

149 lines
3.6 KiB
YAML

# Loads default set of integrations. Do not remove.
default_config:
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.18.0.0/16
panel_iframe:
configurator:
title: Configurator
icon: mdi:wrench
#url: http://192.168.1.220:3218
url: http://ncie-benamira:54753
shell_command:
trigger_shutdown: touch /shutdown-signal/apagar
trigger_total_shutdown: touch /shutdown-signal/apagado_total
trigger_startup: touch /shutdown-signal/encender
# zigbee2mqtt:
# title: Zigbee2mqtt
# icon: mdi:zigbee
# #url: http://192.168.1.220:8080
# url: http://teknes-instalacion.ddns.net:54754
#switch:
# - platform: group
# name: Instalacion
# entities:
# - switch.caja_instalacion
#
# - platform: group
# name: Cajas
# entities:
# - switch.caja_eje1_pila1_204_210
# - switch.caja_eje1_pila2_205_211
# - switch.caja_eje1_pila3_201
# - switch.caja_eje2_pila1_203_212
# - switch.caja_eje2_pila2_206_213
# - switch.caja_eje2_pila3_202
# - platform: mqtt
# name: "Caja instalacion"
# state_topic: "zigbee2mqtt/caja-instalacion/status"
# command_topic: "zigbee2mqtt/caja-instalacion"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
# - platform: mqtt
# name: "Caja eje1 pila1 204 210"
# state_topic: "zigbee2mqtt/caja-eje1-pila1-204-210/status"
# command_topic: "zigbee2mqtt/caja-eje1-pila1-204-210"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
# - platform: mqtt
# name: "Caja eje1 pila2 205 211"
# state_topic: "zigbee2mqtt/caja-eje1-pila2-205-211/status"
# command_topic: "zigbee2mqtt/caja-eje1-pila2-205-211"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
# - platform: mqtt
# name: "Caja eje1 pila3 201"
# state_topic: "zigbee2mqtt/caja-eje1-pila3-201/status"
# command_topic: "zigbee2mqtt/caja-eje1-pila3-201"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
# - platform: mqtt
# name: "Caja eje2 pila1 203 212"
# state_topic: "zigbee2mqtt/caja-eje2-pila1-203-212/status"
# command_topic: "zigbee2mqtt/caja-eje2-pila1-203-212"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
# - platform: mqtt
# name: "Caja eje2 pila2 206 213"
# state_topic: "zigbee2mqtt/caja-eje2-pila2-206-213/status"
# command_topic: "zigbee2mqtt/caja-eje2-pila2-206-213"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
# - platform: mqtt
# name: "Caja eje2 pila3 202"
# state_topic: "zigbee2mqtt/caja-eje2-pila3-202/status"
# command_topic: "zigbee2mqtt/caja-eje2-pila3-202"
# payload_on: "ON"
# payload_off: "OFF"
# qos: 0
# retain: true
# restore_state: true
#
#telegram_bot:
# - platform: polling
# api_key: 6092066180:AAHJOCNkbjnNg5NUcEOL2kjLDKd7AFecu3s
# allowed_chat_ids:
# #335322529:sergio, 5735162:Iñigo
# - 335322529
# - 5735162
#mqtt:
# discovery: true
# #broker: mqtt://192.168.1.220
# broker: mqtt://teknes-instalacion.ddns.net:54755
# birth_message:
# topic: 'homeassistant/status'
# payload: 'online'
# will_message:
# topic: 'homeassistant/status'
# payload: 'offline'
# Load frontend themes from the themes folder
#frontend:
#themes: !include_dir_merge_named themes
# Text to speech
tts:
- platform: google_translate
api:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml