JLindvig

Premier League

Feb 15th, 2021 (edited)
1,009
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.26 KB | None | 0 0
  1. sensor:
  2.   - platform: rest
  3.     name: Premier League
  4.     resource: http://rest.apptoo.dk/soccer.json
  5.     value_template: "{{ value_json.leagues[2].league_name }}"
  6.     json_attributes_path: "$.leagues[2]"
  7.     json_attributes:
  8.      - scoreboard
  9.       - schedule
Add Comment
Please, Sign In to add comment