Hi all,
I am new with HomeAssistant and this community.
I am trying to write a configuration in order to read result of http url get call.
Is Restfull integration the right choice ?
rest:
- authentication: basic
scan_interval: 86400
resource: https://url/api/daily?prm=xxxxxxxxx&start=2025-05-21&end=2025-05-22
method: GET
headers:
Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sensor:
- name: consumption
unique_id: d0f55f50-f68a-42e2-838f-b57b7127125e
value_template: 'OK'
json_attributes:
- "interval_reading"
This URL return s JSON like the following :
{
"usage_point_id": "xxxxxxxx",
"start": "2025-05-20",
"end": "2025-05-22",
"quality": "BRUT",
"reading_type": {
"unit": "Wh",
"measurement_kind": "energy",
"aggregate": "sum",
"measuring_period": "P1D"
},
"interval_reading": [
{
"value": "8848",
"date": "2025-05-20"
},
{
"value": "9138",
"date": "2025-05-21"
}
]
I see no entry in my integration list …