mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix DSMR max current device class (#102219)
Max current is CURRENT Device Class The max current is shown as Amps. So need to change the device class to CURRENT instead of POWER.
This commit is contained in:
parent
a06d8c4d3f
commit
43aaf78f7b
@ -325,7 +325,7 @@ SENSORS: tuple[DSMRSensorEntityDescription, ...] = (
|
||||
translation_key="max_current_per_phase",
|
||||
obis_reference=obis_references.BELGIUM_MAX_CURRENT_PER_PHASE,
|
||||
dsmr_versions={"5B"},
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
entity_registry_enabled_default=False,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
|
Loading…
x
Reference in New Issue
Block a user