mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Merge pull request #235 from w1ll1am23/update_googlevoice_doc
Updated google voice doc with automation notification example
This commit is contained in:
commit
d028f6bc1b
@ -34,3 +34,19 @@ Configuration variables:
|
||||
### Usage
|
||||
|
||||
Google Voice is a notify platform and thus can be controlled by calling the notify service [as described here](/components/notify/). It will send a notification to all devices listed in the notification **target**.
|
||||
|
||||
```yaml
|
||||
# Example automation notification entry
|
||||
automation:
|
||||
- alias: The sun has set
|
||||
trigger:
|
||||
platform: sun
|
||||
event: sunset
|
||||
action:
|
||||
service: notify.googlevoice
|
||||
data:
|
||||
message: 'The sun has set'
|
||||
target:
|
||||
- 5555555555
|
||||
- 5555555556
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user