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

68 lines
1.6 KiB
Plaintext
Executable File

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
http:
server_port: 80
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.0/24
# Text to speech
tts:
- platform: google_translate
webostv:
name: Living Room TV
host: 192.168.1.249
#other settings
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: B0:37:95:8D:06:78
wake_on_lan:
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 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: >
{"json":"{{value_json|json}}"}
| json