Adding a Name to a Rest Sensor Prevents Data From Appearing

Below is the yaml that ended up working. Thanks for all the help. Unfortunately, the data coming from UtilityAPI isn’t suitable for a sensor.

sensor:
  - platform: rest
      name: Energy Rest Sensor
      resource: https://utilityapi.com/api/v2/intervals?meters=xxxxxxx&limit=1&order=latest_first
      headers:
        Authorization: >
          Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      scan_interval: 3600
      device_class: ENERGY
      state_class: total_increasing
      value_template: "{{ value_json['intervals'][0]['readings'][0]['kwh']}}"
      unit_of_measurement: kWh
1 Like