mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix IFTTT blog post automation example
This commit is contained in:
parent
b573e016da
commit
b9db76587d
@ -63,11 +63,11 @@ Setup Maker channel with event name `HA_FIRE_ALARM` and Twitter channel to tweet
|
|||||||
automation:
|
automation:
|
||||||
- alias: Post a tweet when fire alarm is triggered
|
- alias: Post a tweet when fire alarm is triggered
|
||||||
trigger:
|
trigger:
|
||||||
- platform: mqtt
|
platform: mqtt
|
||||||
mqtt_topic: home/alarm/fire
|
mqtt_topic: home/alarm/fire
|
||||||
mqtt_payload: 'on'
|
mqtt_payload: 'on'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
service: ifttt.trigger
|
service: ifttt.trigger
|
||||||
data: {"event":"HA_FIRE_ALARM", "value1":"The fire alarm just triggered!"}
|
data: {"event":"HA_FIRE_ALARM", "value1":"The fire alarm just triggered!"}
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user