Adapt DSMR integration to changes in dsmr_parser for Belgian/Dutch meters (#73817)
parent
164eba7e5d
commit
303ce715ed
homeassistant/components/dsmr
|
@ -245,10 +245,28 @@ SENSORS: tuple[DSMRSensorEntityDescription, ...] = (
|
|||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
DSMRSensorEntityDescription(
|
||||
key=obis_references.BELGIUM_MAX_POWER_PER_PHASE,
|
||||
name="Max power per phase",
|
||||
dsmr_versions={"5B"},
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
entity_registry_enabled_default=False,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
DSMRSensorEntityDescription(
|
||||
key=obis_references.BELGIUM_MAX_CURRENT_PER_PHASE,
|
||||
name="Max current per phase",
|
||||
dsmr_versions={"5B"},
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
entity_registry_enabled_default=False,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
DSMRSensorEntityDescription(
|
||||
key=obis_references.ELECTRICITY_IMPORTED_TOTAL,
|
||||
name="Energy Consumption (total)",
|
||||
dsmr_versions={"5", "5B", "5L", "5S", "Q3D"},
|
||||
dsmr_versions={"5L", "5S", "Q3D"},
|
||||
force_update=True,
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
|
|
Loading…
Reference in New Issue