JLindvig

Flagdays REST

Feb 10th, 2021 (edited)
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sensor:
  2.   - platform: rest
  3.     name: Flagdage
  4.     resource: "http://apptoo.dk/rest/flagdays.json"
  5.     value_template: "{{ value_json.state }}"
  6.     json_attributes_path: "$.attributes"
  7.     json_attributes:
  8.      - date
  9.       - event
  10.       - timestamp
  11.       - icon
  12.       - friendly_name
  13.       - default_flag
  14.       - entity_picture
  15.       - half_mast_all_day
  16.       - half_mast_end_time
  17.       - events
Add Comment
Please, Sign In to add comment