I hope I read all the REST sensor threads but still I’m lost…
I’m using a P1MON system (https://www.ztatz.nl/). With the following API call: http://192.168.178.54/api/v1/smartmeter/?limit=1
I get the following results:
[[“2019-05-12 21:28:23”, 1557689303, 0, 2216.694, 2777.013, 0.0, 0.0, “D”, 347, 0, 1645.051]]
I;m only interested in the 9th item (347) but I cannot seems to filter it correctly with the value_template. I tried to use:
value_template: ‘{{ value_json[9] }}’ But that only returns the 9th character from the call (a 5)