#MQTT Device doesn't appear in Energy Dashboard setup

1 messages · Page 1 of 1 (latest)

restive heath
#

I have a manually-defined MQTT device to track my solar power:

    # Tesla Solar Power
    - name: "Tesla Solar Power"
      unique_id: "tesla_solar_power"
      state_topic: "tesla_solar/solar_power"
      unit_of_measurement: "W"
      device_class: power
      value_template: "{{ value | float }}"
      device:
        identifiers:
          - "tesla_solar"
        name: "Tesla Solar"

This device does not show up (see screenshot) when I try to select it in solar production power.

There is a history for this device, so the history recorder is working. However, the device does not appear at all in Dev Tools > Statistics.

How can I fix this?

languid locust
#

missing state_class: measurement

restive heath
#

@languid locust related follow up: is there a way to set up these devices in the UI? Or must I use the yaml?