rp5-homelab/configs/homeassistant/scripts.yaml
Hofmann Engineer d67c33f960 Add Home Assistant configuration files
- configuration.yaml (main HA config)
- ui-lovelace.yaml (dashboard with System Admin view)
- automations.yaml
- scripts.yaml

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 03:35:05 +00:00

96 lines
2.3 KiB
YAML

# Quick light controls
lights_on:
alias: "Turn All Lights On"
sequence:
- service: light.turn_on
target:
entity_id: all
data:
brightness_pct: 100
lights_off:
alias: "Turn All Lights Off"
sequence:
- service: light.turn_off
target:
entity_id: all
lights_dim:
alias: "Dim All Lights"
sequence:
- service: light.turn_on
target:
entity_id: all
data:
brightness_pct: 30
cast_pause_all:
alias: "Pause All Cast Devices"
sequence:
- service: media_player.media_pause
target:
entity_id: media_player.google_cast
# Bluetooth Management Scripts
bluetooth_scan:
alias: "Scan for Bluetooth Devices"
icon: mdi:bluetooth-search
sequence:
- service: shell_command.bluetooth_scan
- service: persistent_notification.create
data:
title: "Bluetooth Scan"
message: "Scanning for Bluetooth devices..."
bluetooth_connect_speaker:
alias: "Connect to JBL PartyBox"
icon: mdi:speaker-bluetooth
sequence:
- service: shell_command.bluetooth_connect
data:
device: "68:52:10:33:F3:98"
- service: persistent_notification.create
data:
title: "Bluetooth"
message: "Connecting to JBL PartyBox 710..."
bluetooth_connect_headphones:
alias: "Connect to MOMENTUM 3"
icon: mdi:headphones-bluetooth
sequence:
- service: shell_command.bluetooth_connect
data:
device: "00:1B:66:E9:9E:89"
- service: persistent_notification.create
data:
title: "Bluetooth"
message: "Connecting to MOMENTUM 3 headphones..."
bluetooth_connect_soundbar:
alias: "Connect to Samsung Soundbar"
icon: mdi:soundbar
sequence:
- service: shell_command.bluetooth_connect
data:
device: "E4:7D:BD:C2:13:F5"
- service: persistent_notification.create
data:
title: "Bluetooth"
message: "Connecting to Samsung Soundbar..."
bluetooth_disconnect_all:
alias: "Disconnect All Bluetooth"
icon: mdi:bluetooth-off
sequence:
- service: shell_command.bluetooth_disconnect_all
- service: persistent_notification.create
data:
title: "Bluetooth"
message: "Disconnecting all Bluetooth devices..."
bluetooth_list_devices:
alias: "List Bluetooth Devices"
icon: mdi:format-list-bulleted
sequence:
- service: shell_command.bluetooth_list