Skip to content

Commit 17eab64

Browse files
committed
Fix syntax
1 parent 8660f52 commit 17eab64

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

source/_components/feedreader.markdown

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,19 @@ automation:
5252
service: persistent_notification.create
5353
data_template:
5454
title: "New HA Podcast available"
55-
message: {% raw %}"New Podcast available - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"
56-
notification_id: "{{ trigger.event.data.title }}"{% endraw %}
55+
message: {% raw %}"New Podcast available - {{ as_timestamp(now()) | timestamp_custom('%I:%M:%S %p %d%b%Y', true) }}"{% endraw %}
56+
notification_id: {% raw %}"{{ trigger.event.data.title }}"{% endraw %}
5757
```
5858
59-
*Any field under the `<entry>` tag in the feed can be used for example `trigger.event.data.content` will get the body of the feed entry.
59+
Any field under the `<entry>` tag in the feed can be used for example `trigger.event.data.content` will get the body of the feed entry.
6060

6161
For more advanced use cases, a custom component registering to the `feedreader` event type could be used instead:
62-
For a drop in packaged complete example of Feedreader, you can use the [PodCast notifier](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/packages/hasspodcast.yaml).
6362

6463
```python
6564
EVENT_FEEDREADER = "feedreader"
6665
hass.bus.listen(EVENT_FEEDREADER, event_listener)
6766
```
6867

6968
To get started developing custom components, please refer to the [developers](/developers) documentation
69+
70+
For a drop in packaged complete example of Feedreader, you can use the [PodCast notifier](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/packages/hasspodcast.yaml).

source/_components/xiaomi.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: page
3-
title: "Xiaomi Gateway
3+
title: "Xiaomi Gateway"
44
description: "Instructions how to integrate your Xiaomi Gateway within Home Assistant."
55
date: 2017-07-21 16:34
66
sidebar: true

0 commit comments

Comments
 (0)