Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
326 B
238
Indexable
Never
sensor:     ### ONLY INCLUDE THIS LINE IF YOU DON'T ALREADY HAVE Sensor: IN YOUR Configuration.yaml ###

  - platform: rest
    resource: 
    name: "CUSTOM NAME"
    value_template: '{{ value_json.state }}'
    json_attributes:
      - attributes
    headers:
      Authorization: Bearer YOUR_LONG_LIVED_ACCESS_TOKEN