-
Notifications
You must be signed in to change notification settings - Fork 0
/
EEW.yml
40 lines (37 loc) · 987 Bytes
/
EEW.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# !Warning! Test only!!!
# 警告! テスト目的です。本番では使用しないでください。大音量のNHK緊急地震速報チャイムが再生されます!!!
metadata:
name: EEW
description: Earthquake Early Warning
inputValue:
eew: "https://iptables.jp/ を開いて"
alert: "音量を 60% に上げて"
input:
eew:
metadata:
name:
en: EEW
description:
en: Earthquake Early Warning Notification
selector:
type: text
alert:
metadata:
name:
en: Alert
description:
en: Alert Speaker Volume Control
selector:
type: text
automations:
starters:
- type: assistant.event.OkGoogle
eventData: query
is: "緊急地震速報"
actions:
- type: assistant.command.OkGoogle
devices: 制御盤 - サーバールーム
okGoogle: $alert
- type: assistant.command.OkGoogle
devices: 制御盤 - サーバールーム
okGoogle: $eew