Update Energy Package

This commit is contained in:
2022-09-04 08:00:12 -07:00
parent b02fc6783a
commit 4513653fb7

View File

@@ -36,7 +36,7 @@ sensor:
- name: Flex Alert RSS
platform: rest
resource: 'http://content.caiso.com/awe/noticeflexRSS.xml'
value_template: "{{ (value_json)[0:254] }}"
value_template: "{{ value_json['rss']['channel']['item'][0]['title']|strip }}"
json_attributes_path: '$.rss.channel'
json_attributes:
- item