#Hello sorry for the likely stupid
1 messages · Page 1 of 1 (latest)
I managed to create and validate the config, but can't seem to find the sensor anywhere, is there anything I need to do in order for the sensor to show up? I want to check it to make sure it's outputting the correct information.
# NRGI variable energy prices
rest:
- method: "GET"
scan_interval: 7200
resource: https://nrgi.dk/api/common/pricehistory
params:
region: "DK1"
date: "{ { (now()).strftime('%Y-%m-%d') } }"
sensor:
- name: "Currenty energy price"
json_attributes_path: "$.response.prices[{{ now().hour }}]"
json_attributes:
- "localTime"
- "value"
- "priceInclVat"
- "isHighestPrice"
- "isLowestPrice"
the ha core check is still processing, not sure how long it's supposed to take, but the sensor isn't showing up in
-> States when searching for the sensor name
It won't show until you restart HA
ah, ok
I'll let the core check finish and then restart
ha core check finished without issue, but after restarting ha the sensor still isn't showing up in the states list, should the rest part in the configuration.yaml be nested under something else? Right now I just have it at the end of the file
I'd expect something like sensor.currenty_energy_price