mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Updated google voice doc with automation notification example
This commit is contained in:
parent
b849b7fe6d
commit
412bdd570e
@ -34,3 +34,18 @@ Configuration variables:
|
|||||||
### Usage
|
### 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**.
|
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
|
||||||
|
- alias: Send a notification
|
||||||
|
trigger:
|
||||||
|
platform: event
|
||||||
|
event_type: 'some event'
|
||||||
|
action:
|
||||||
|
service: notify.googlevoice
|
||||||
|
data:
|
||||||
|
message: 'Google Voice SMS test'
|
||||||
|
target:
|
||||||
|
- 5555555555
|
||||||
|
- 5555555556
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user