I have trouble getting the sensor “UL1” working, see my configuration.yaml below.
from the url (local): “http://192.168.86.42/api/v3/data/realtime/36864_1_5” i get this result:
[{“channel”:“36864_1_5”,“direction”:“input”,“value”:“232”,“time_updated”:“1648751522.1029”,“time”:“1648751522.1029”}]
The “value” i would like from the url is “232” (on the url this value is updating every 5 sec)
#CEMM
rest:
- resource: http://192.168.86.42/api/v3/data/realtime/36864_1_5
method: GET
sensor:
name: “UL1”
value_template: ‘{{ value_json.channel.value[1] | float(0) | round(0) }}’
device_class: power
state_class: measurement
unit_of_measurement: V
Any suggestions?