MQTT Discovery - Defining the battery SoC of the device

I’ve just created a device with multiple entities using MQTT discovery. Now that device has several sensors which have the device_class battery and return different States of Charge (SoC). How to define the right SoC for the whole device, so that the right SoC is displayed in the device list and on the device detail page:


1 Like