Files
zorruno-homeassistant/packages/announcement_test.yaml
T
2026-05-07 23:18:01 +12:00

40 lines
1.3 KiB
YAML

################################################################################
# PACKAGE: Announcement Test Button
################################################################################
input_button:
announcement_test:
name: Test Announcement
icon: mdi:bullhorn
automation:
- id: announcement_test_button_pressed
alias: Announcement Test Button Pressed
mode: single
trigger:
- platform: state
entity_id: input_button.announcement_test
action:
- action: script.view_road_announcement
data:
channels: "sony_tv_lounge"
title: "View Road Test"
short_announcement: "Test announcement"
long_announcement: "This is a test announcement from the package test button."
payload: "On"
indicator: ""
#- action: script.view_road_announcement
# data:
# channels: "pushover_zorruno,pushover_kim"
# title: "View Road Test"
# long_announcement: "This is a test through the View Road announcement router."
- action: script.view_road_announcement
data:
channels: "lounge_google_home_voice"
title: "View Road Test"
long_announcement: "This is a test announcement on the lounge Google Home."