Closed mnederlof closed 11 months ago
If we want to be accurate for the DC current, we'd use mdi:current-dc
, but there is nothing for DC voltage..
Just specify DC current like this in const.py
(note the icon
parameter):
SensorEntityDescription(
key="inverters_dc_current",
name="DC Current",
icon="mdi:current-dc",
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.CURRENT,
),
Looks way better with different icons based on the device class.