rest: - resource: https://mijn.jullix.be/api/v1/actual/default/summary/power headers: Authorization: Bearer ---TOKEN--- sensor: - name: "Grid" value_template: "{{ value_json['data']['powers']['grid'] }}" unit_of_measurement: "kW" device_class: power - name: "Solar" value_template: "{{ value_json['data']['powers']['solar'] }}" unit_of_measurement: "kW" device_class: power - name: "Car" value_template: "{{ value_json['data']['powers']['car'] }}" unit_of_measurement: "kW" device_class: power - name: "Battery" value_template: "{{ value_json['data']['powers']['battery'] }}" unit_of_measurement: "kW" device_class: power - name: "Home" value_template: "{{ value_json['data']['powers']['home'] }}" unit_of_measurement: "kW" device_class: power - resource: https://mijn.jullix.be/api/v1/actual/default/detail/battery headers: Authorization: Bearer ---TOKEN--- sensor: - name: "Battery SOC" value_template: "{{ value_json['data'][0]['battery']['soc'] }}" unit_of_measurement: '%' device_class: battery