Min/Max Helper - how to set device type of result?

Hello,

I am using the Min/Max helper (Min/Max - Home Assistant) calculating the minimum charge state of a couple of batteries.

Certainly, the device of the result should be “battery” (from my point of view).
For sure, there are other use cases where a different device would make sense.

Key question: How to set the “device” of the result.

Many thanks in advance
Anton

#configuration.yaml

homeassistant:
  customize:
    sensor.min_max_battery:
      device_class: battery
1 Like