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?