-
Notifications
You must be signed in to change notification settings - Fork 0
/
AnnounceAppliance.yaml
40 lines (38 loc) · 980 Bytes
/
AnnounceAppliance.yaml
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
- alias: Announce Diskmaskinen
trigger:
platform: state
entity_id: sensor.diskmaskin_operation_state
to: 'Ready'
action:
service: tts.google_translate_say
entity_id: media_player.nest_hub
data:
message: 'Hej! Diskmaskinen är klar!'
language: 'sv'
gender: 'female'
- alias: Announce Tvättmaskinen
trigger:
platform: state
entity_id: sensor.tvattmaskinen_washer_job_state
from: 'none'
to: 'none'
action:
service: tts.google_translate_say
entity_id: media_player.nest_hub
data:
message: 'Hej! Tvättmaskinen är klar!'
language: 'sv'
gender: 'female'
- alias: Announce Torktumlaren
trigger:
platform: state
entity_id: sensor.torktumlaren_dryer_machine_state
from: 'run'
to: 'stop'
action:
service: tts.google_translate_say
entity_id: media_player.nest_hub
data:
message: 'Hej! Torktumlaren är klar!'
language: 'sv'
gender: 'female'