MQTT Change Battery Sensor to Diagnostic

I have two devices added via MQTT, one of which is added via Zigbee2MQTT. My problem ist, that for the device natively supporting MQTT, the battery level is picked up as Sensor, and not as Diagnostic, which for example doesn’t show a graph when looking at its history:
instead of

The device pages look like this:

Is there a way to change the Battery type of my device to be a Diagnostic value instead?

1 Like