If Anyone can / wants to take this and include it in the rest sensors ( i dont really understand rest template like you guys do), i added espn news headlines for a particular team. Was only able to do this in node red . Edit: the website to fetch is http://site.api.espn.com/apis/site/v2/sports/football/nfl/news
card:
type: vertical-stack
cards:
- type: markdown
content: >
{{(states('sensor.nfl_team_news'))}}
___
![Image]({{states.sensor.nfl_team_news.attributes["entity_picture"]}})
{{states.sensor.nfl_team_news.attributes["caption"]}}
1).[Mezzanine]({{states.sensor.nfl_team_news.attributes["mezzanine"]}})
2).[HD]({{states.sensor.nfl_team_news.attributes["hd"]}})
3).[HLS]({{states.sensor.nfl_team_news.attributes["hls"]}})
- type: markdown
content: >-
{{(states('sensor.nfl_team_news_alt'))}}
___
![Image]({{states.sensor.nfl_team_news_alt.attributes["entity_picture"]}})
{{states.sensor.nfl_team_news_alt.attributes["caption"]}}
1).[Mezzanine]({{states.sensor.nfl_team_news_alt.attributes["mezzanine"]}})
2).[HD]({{states.sensor.nfl_team_news_alt.attributes["hd"]}})
3).[HLS]({{states.sensor.nfl_team_news_alt.attributes["hls"]}})
nodered import:
[{"id":"e4b286ed5577ce9c","type":"www-request","z":"8f4d3eb158748da5","name":"all news","method":"POST","ret":"obj","url":"http://site.api.espn.com/apis/site/v2/sports/football/nfl/news","follow-redirects":true,"persistent-http":true,"tls":"","x":240,"y":40,"wires":[["943fae5448eaa432"]]},{"id":"1581cefc08921ec8","type":"inject","z":"8f4d3eb158748da5","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":100,"y":40,"wires":[["e4b286ed5577ce9c"]]},{"id":"943fae5448eaa432","type":"change","z":"8f4d3eb158748da5","name":"articles","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.articles","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":380,"y":40,"wires":[["caba0f6d3b25ccd7"]]},{"id":"caba0f6d3b25ccd7","type":"function","z":"8f4d3eb158748da5","name":"CHANGE TEAM HERE","func":"msg.payload = msg.payload.filter(el => el.description.includes(\"Bears\"))\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":770,"y":40,"wires":[["036e5e3009994170"]]},{"id":"036e5e3009994170","type":"change","z":"8f4d3eb158748da5","name":"link url","rules":[{"t":"set","p":"link","pt":"msg","to":"payload.links.api.news.href","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":110,"y":100,"wires":[["1b6024f96ef113e3","dd22d5ae6bbbef0e"]]},{"id":"c58a56d1d7457836","type":"debug","z":"8f4d3eb158748da5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":870,"y":220,"wires":[]},{"id":"1b6024f96ef113e3","type":"www-request","z":"8f4d3eb158748da5","name":"team link for article","method":"GET","ret":"obj","url":"{{{link.0}}}","follow-redirects":true,"persistent-http":true,"tls":"","x":310,"y":220,"wires":[["af345639c78e434f"]]},{"id":"af345639c78e434f","type":"change","z":"8f4d3eb158748da5","name":"videos","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.videos[0]","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":220,"wires":[["d03c7c2717517de0"]]},{"id":"d03c7c2717517de0","type":"ha-entity","z":"8f4d3eb158748da5","name":"nfl_team_news","server":"d363f6df.2ec558","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"nfl_team_news"},{"property":"device_class","value":""},{"property":"icon","value":""},{"property":"unit_of_measurement","value":""}],"state":"payload.headline","stateType":"msg","attributes":[{"property":"caption","value":"payload.caption","valueType":"msg"},{"property":"entity_picture","value":"payload.thumbnail","valueType":"msg"},{"property":"Mezzanine","value":"payload.links.source.mezzanine.href","valueType":"msg"},{"property":"HD","value":"payload.links.source.HD.href","valueType":"msg"},{"property":"HLS","value":"payload.links.source.HLS.href","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","outputOnStateChange":false,"outputPayload":"$entity().state ? \"on\": \"off\"","outputPayloadType":"jsonata","x":620,"y":220,"wires":[["c58a56d1d7457836"]]},{"id":"439d3c6e028842ae","type":"debug","z":"8f4d3eb158748da5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":870,"y":320,"wires":[]},{"id":"dd22d5ae6bbbef0e","type":"www-request","z":"8f4d3eb158748da5","name":"team link for article","method":"GET","ret":"obj","url":"{{{link.1}}}","follow-redirects":true,"persistent-http":true,"tls":"","x":230,"y":340,"wires":[["4d60d80a3baea755"]]},{"id":"4d60d80a3baea755","type":"change","z":"8f4d3eb158748da5","name":"videos","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.videos[0]","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":410,"y":340,"wires":[["cf9d1511ad38dcb3"]]},{"id":"cf9d1511ad38dcb3","type":"ha-entity","z":"8f4d3eb158748da5","name":"nfl_team_news_alt","server":"d363f6df.2ec558","version":1,"debugenabled":false,"outputs":1,"entityType":"sensor","config":[{"property":"name","value":"nfl_team_news_alt"},{"property":"device_class","value":""},{"property":"icon","value":""},{"property":"unit_of_measurement","value":""}],"state":"payload.headline","stateType":"msg","attributes":[{"property":"caption","value":"payload.caption","valueType":"msg"},{"property":"entity_picture","value":"payload.thumbnail","valueType":"msg"},{"property":"Mezzanine","value":"payload.links.source.mezzanine.href","valueType":"msg"},{"property":"HD","value":"payload.links.source.HD.href","valueType":"msg"},{"property":"HLS","value":"payload.links.source.HLS.href","valueType":"msg"}],"resend":true,"outputLocation":"","outputLocationType":"none","inputOverride":"allow","outputOnStateChange":false,"outputPayload":"$entity().state ? \"on\": \"off\"","outputPayloadType":"jsonata","x":650,"y":340,"wires":[["439d3c6e028842ae"]]},{"id":"d363f6df.2ec558","type":"server","name":"Home Assistant","version":1,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]