Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thanksmister authored Apr 5, 2019
1 parent 83296a3 commit 134ab02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ You can also use MQTT to publish the weather to the Alarm Panel application, whi
condition: []
action:
- data:
payload_template: "{'weather':{{states.weather.dark_sky.attributes}}}"
payload_template: {% raw %}"{'weather':{{states.weather.dark_sky.attributes}}}"{% endraw %}
retain: true
topic: alarmpanel/command
service: mqtt.publish
Expand All @@ -137,7 +137,7 @@ You can also test this using the "mqtt.publish" service under the Home Assistant

```
{
"payload_template": "{'weather':{{states.weather.dark_sky.attributes}}}",
"payload_template": {% raw %}"{'weather':{{states.weather.dark_sky.attributes}}}"{% endraw %},
"retain": true,
"topic": "alarmpanel/command"
}
Expand All @@ -156,7 +156,7 @@ Similar to how weather works, you can control the Voice Panel to display the day
condition: []
action:
- data:
payload_template: {% raw %} "{'sun':'{{states('sun.sun')}}'}" {% endraw %}
payload_template: {% raw %}"{'sun':'{{states('sun.sun')}}'}"{% endraw %}
retain: true
topic: alarmpanel/command
service: mqtt.publish
Expand All @@ -175,7 +175,7 @@ You can also test this using the "mqtt.publish" service under the Home Assistant

```
{
"payload_template": "{'sun':'{{states('sun.sun')}}'}",
"payload_template": {% raw %}"{'sun':'{{states('sun.sun')}}'}"{% endraw %},
"topic": "alarmpanel/command"
}
```
Expand Down

0 comments on commit 134ab02

Please sign in to comment.