From 20ed0e189f52a1b6059ad18f53aff3bff1ab559e Mon Sep 17 00:00:00 2001 From: lsiepel Date: Sun, 19 May 2024 10:36:33 +0200 Subject: [PATCH] [dsmr] Fix delivery demand labels (#16739) * Fix delivery demand labels * Add upgrade instructions Signed-off-by: Leo Siepel --- .../main/resources/OH-INF/i18n/dsmr.properties | 5 +++-- .../OH-INF/thing/channeltypes_electricity.xml | 4 ++-- .../OH-INF/thing/meter_device_emucs_v1_0.xml | 1 + .../thing/meter_electricity_emucs_v1_0.xml | 7 ++++++- .../resources/OH-INF/update/instructions.xml | 17 +++++++++++++++++ 5 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/update/instructions.xml diff --git a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/i18n/dsmr.properties b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/i18n/dsmr.properties index 54b9fa79d1..7e9ca2d7ec 100644 --- a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/i18n/dsmr.properties +++ b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/i18n/dsmr.properties @@ -23,6 +23,7 @@ thing-type.dsmr.electricity_ace4000.label = Electricity Meter (ACE4000) thing-type.dsmr.electricity_ace4000.description = This is an electricity meter that complies to the ACE4000 GTMM Mk3 specification. thing-type.dsmr.electricity_emucs_v1_0.label = Electricity Meter (e-MUCS V1.0) thing-type.dsmr.electricity_emucs_v1_0.description = This is an electricity meter that complies to the e-MUCS V1.0 specification. +thing-type.dsmr.electricity_emucs_v1_0.channel.emeter_maximum_demand_current_month.label = Power Demand Current Month thing-type.dsmr.electricity_smarty_v1_0.label = Electricity Meter (Smarty V1.0) thing-type.dsmr.electricity_smarty_v1_0.description = This is an electricity meter that complies to the Luxembourg's Smarty V1.0 specification. thing-type.dsmr.electricity_smarty_v1_0_austria.label = Electricity Meter Austria @@ -133,8 +134,8 @@ channel-type.dsmr.activeImportPowerType.label = Aggregate Active Import Power channel-type.dsmr.activeImportPowerType.description = The aggregate active import power. channel-type.dsmr.activeThresholdSmax.label = Active Threshold channel-type.dsmr.activeThresholdSmax.description = Active threshold (SMAX). -channel-type.dsmr.actualDeliveryBelgiumType.label = Actual Power Delivery -channel-type.dsmr.actualDeliveryBelgiumType.description = The current power delivery. +channel-type.dsmr.actualDeliveryBelgiumType.label = Actual Power Demand +channel-type.dsmr.actualDeliveryBelgiumType.description = The current power delivery demand. channel-type.dsmr.actualDeliveryType.label = Actual Power Delivery channel-type.dsmr.actualDeliveryType.description = The current power delivery. channel-type.dsmr.actualFuseThresholdAType.label = Actual Fuse Threshold diff --git a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/channeltypes_electricity.xml b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/channeltypes_electricity.xml index 2de77d41e6..2eee46285c 100644 --- a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/channeltypes_electricity.xml +++ b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/channeltypes_electricity.xml @@ -155,8 +155,8 @@ Number:Power - - The current power delivery. + + The current power delivery demand. diff --git a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_device_emucs_v1_0.xml b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_device_emucs_v1_0.xml index 513479e788..f845f5d20c 100644 --- a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_device_emucs_v1_0.xml +++ b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_device_emucs_v1_0.xml @@ -17,6 +17,7 @@ + diff --git a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_electricity_emucs_v1_0.xml b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_electricity_emucs_v1_0.xml index 74c1307ced..045fc7227f 100644 --- a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_electricity_emucs_v1_0.xml +++ b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/thing/meter_electricity_emucs_v1_0.xml @@ -23,7 +23,7 @@ - + @@ -41,6 +41,11 @@ + + + 1 + + diff --git a/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/update/instructions.xml new file mode 100644 index 0000000000..0cdcac7f2c --- /dev/null +++ b/bundles/org.openhab.binding.dsmr/src/main/resources/OH-INF/update/instructions.xml @@ -0,0 +1,17 @@ + + + + + + + dsmr:actualDeliveryBelgiumType + + + dsmr:actualDeliveryBelgiumType + + + + + -- 2.47.3