Files
homeassistant.config/configuration.yaml
2024-08-31 03:05:08 +01:00

82 lines
2.1 KiB
YAML

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# enable wake on lan integration
wake_on_lan:
http:
server_port: 80
use_x_forwarded_for: true
trusted_proxies:
- 0.0.0.0/0 #cuidado com isto
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#light:
# Example configuration.yaml entry
# - platform: flux_led
# devices:
# 192.168.2.48:
# name: movel_tv_strip
# mode: rgb
#sensor:
# - platform: command_line
# command: "python3 /config/scripts/limbowiki_get_info.py"
# name: limbowiki_info
# json_attributes:
# - status
# - version
# - platform: template
# sensors:
# limbowiki_info_status:
# value_template: "{{ state_attr('sensor.limbowiki_info', 'status') }}"
# limbowiki_info_version:
# value_template: "{{ state_attr('sensor.limbowiki_info', 'version') }}"
# sensor livingroom audio:
# platform: mqtt
# state_topic: "home/devices/livingroom/audio/input"
# name: "livingroom Audio"
#sensor pilivingroom bluetoothctl-dev:
# platform: mqtt
# state_topic: "home/devices/pimusicmydev/bluetooth"
# json_attributes_topic: "home/devices/pimusicmydev/bluetooth"
# name: "pilivingroom-dev bluetoothctl-dev"
# value_template: Bluetoothctl mqtt
# json_attributes_template: >
# {
# "mqttTopic":"{{value_json.mqttTopic}}",
# "devices":{{value_json.devices|to_json}}
# }
#sensor livingroom bluetooth devices:
# platform: mqtt
# state_topic: "home/devices/livingroom/bluetooth/devices"
# json_attributes_topic: "home/devices/livingroom/bluetooth/devices"
# name: "livingroom bluetooth devices"
# value_template: Bluetooth Devices Counter {{ value_json|length }}
# json_attributes_template: >
# {"devices":{{value_json|to_json}}}
#panel_iframe:
# homeserver_dashboad:
# title: "HomeServer Admin"
# icon: mdi:qrcode-edit
# url: "http://homesrv01.dev.lan:9777"
# require_admin: true
# lms:
# title: "LMS"
# icon: mdi:music-box
# url: "http://lms.lan"
# require_admin: false