Update Energy Package
This commit is contained in:
@@ -36,12 +36,14 @@ sensor:
|
||||
- name: Flex Alert RSS
|
||||
platform: rest
|
||||
resource: 'http://content.caiso.com/awe/noticeflexRSS.xml'
|
||||
value_template: >
|
||||
(
|
||||
state_attr('sensor.flex_alert_rss', 'item')
|
||||
| selectattr('title', 'search', 'NOTICE')
|
||||
| list
|
||||
)[0]['title']
|
||||
value_tempalte: >
|
||||
{{
|
||||
(
|
||||
value_json['rss']['channel']['item']
|
||||
| selectattr('title', 'search', 'NOTICE')
|
||||
| list
|
||||
)[0]['title']
|
||||
}}
|
||||
json_attributes_path: '$.rss.channel'
|
||||
json_attributes:
|
||||
- item
|
||||
|
||||
Reference in New Issue
Block a user