Advertisement
Hoekeren75

REST-sensor i HA

May 4th, 2022
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.85 KB | None | 0 0
  1. - platform: rest
  2.   resource: https://frese-api.cloud.atkins.dk/v1/poc/devices/all?", [Headers=[API_KEY=51c3f5d7-771b-450d-877b-70173aee2198]
  3.  method: GET
  4.  name: "Flowcloud enhedsoversigt"
  5.  value_template: '{{ (value_json["devices"])}}'
  6.  scan_interval: 900
  7.  
  8. - platform: rest
  9.  resource: https://frese-api.cloud.atkins.dk/v1/poc/devices/all?", [Headers=[API_KEY=51c3f5d7-771b-450d-877b-70173aee2198]
  10.   method: GET
  11.   name: "Flowcloud inlet_temperature"
  12.   value_template: '{{ value_json["devices"][0].json_value.inlet_temperature }}'
  13.   scan_interval: 900
  14.  
  15. - platform: rest
  16.   resource: https://frese-api.cloud.atkins.dk/v1/poc/devices/all?", [Headers=[API_KEY=51c3f5d7-771b-450d-877b-70173aee2198]
  17.  method: GET
  18.  name: "Flowcloud outlet_temperature"
  19.  value_template: '{{ value_json["devices"][0].json_value.outlet_temperature }}'
  20.  scan_interval: 900
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement