Files
homeassistant_config/config/scripts.yaml
2024-08-09 06:45:02 +02:00

69 lines
1.5 KiB
YAML

aorus_reboot:
alias: Aorus - Reboot
sequence:
- service: mqtt.publish
data:
topic: iotlink/home/aorus/commands/reboot
payload: ''
aorus_shutdown:
alias: Aorus - Shutdown
sequence:
- service: mqtt.publish
data:
topic: iotlink/home/aorus/commands/shutdown
payload: ''
aorus_test:
alias: Aorus - test notify
sequence:
- service: mqtt.publish
data:
topic: iotlink/home/aorus/commands/notify
payload: '{ "title": "This is a test", "message": "Click here to go to flemmingss.com",
"launchParams": "toast://open/http://flemmingss.com" }'
wt32_sc01_wake_up:
alias: WT32 sc01 wake up
sequence:
- service: mqtt.publish
data:
topic: hasp/plate1/command
payload: 'backlight {"state": 1, "brightness": 232}'
qos: 0
retain: false
mode: single
wt32_sc01_sleep:
alias: WT32 sc01 Sleep
sequence:
- service: mqtt.publish
data:
topic: hasp/plate1/command
payload: 'backlight {"state": 0, "brightness": 232}'
qos: 0
retain: false
mode: single
purge_database:
alias: purge database
sequence:
- service: recorder.purge
data:
repack: true
apply_filter: true
keep_days: 2
mode: single
clear_log:
alias: clear log
sequence:
- service: system_log.clear
data: {}
mode: single
description: ''
watchman_report:
alias: watchman_report
sequence:
- service: watchman.report
data:
create_file: true
send_notification: false
parse_config: true
chunk_size: false
description: ''