From 1bc932e95ae24ecc723e5714d167e2c3d04bfb88 Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Wed, 28 Aug 2024 20:12:07 +0200 Subject: [PATCH] [mercedesme] Fix trip channel type id (#17267) * bugfix trip channel naming Signed-off-by: Bernd Weymann --- .../OH-INF/thing/thing-combustion.xml | 6 ++- .../resources/OH-INF/thing/thing-hybrid.xml | 4 ++ .../OH-INF/thing/trip-conv-group.xml | 2 +- .../OH-INF/thing/trip-hybrid-group.xml | 2 +- .../resources/OH-INF/update/instructions.xml | 46 +++++++++++++++++++ 5 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml index e05ce90a9b7..977dd7af642 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml @@ -20,12 +20,16 @@ - + + + 1 + + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml index 30abc16d1f9..e55fa8d1c07 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml @@ -27,6 +27,10 @@ + + 1 + + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml index 3eab344bcfd..2de660073f2 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml @@ -13,7 +13,7 @@ - + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml index 78cd171e109..a7501cde2cb 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml @@ -15,7 +15,7 @@ - + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml new file mode 100644 index 00000000000..744a25359b9 --- /dev/null +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml @@ -0,0 +1,46 @@ + + + + + + + mercedesme:consumption-conv-reset + + + + + + + + mercedesme:distance + + + mercedesme:driven-time + + + mercedesme:avg-speed + + + mercedesme:consumption-conv + + + mercedesme:distance-reset + + + mercedesme:driven-time-reset + + + mercedesme:avg-speed-reset + + + mercedesme:consumption-conv-reset + + + mercedesme:consumption-conv-unit + + + + +