forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mercedesme] Fix trip channel type id (openhab#17267)
* bugfix trip channel naming Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
- Loading branch information
1 parent
8dcaf5a
commit 329aded
Showing
5 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns:update="https://openhab.org/schemas/update-description/v1.0.0" | ||
xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd"> | ||
|
||
<thing-type uid="mercedesme:hybrid"> | ||
<instruction-set targetVersion="1"> | ||
<update-channel id="cons-conv-reset" groupIds="trip"> | ||
<type>mercedesme:consumption-conv-reset</type> | ||
</update-channel> | ||
</instruction-set> | ||
</thing-type> | ||
|
||
<thing-type uid="mercedesme:combustion"> | ||
<instruction-set targetVersion="1"> | ||
<update-channel id="distance" groupIds="trip"> | ||
<type>mercedesme:distance</type> | ||
</update-channel> | ||
<update-channel id="time" groupIds="trip"> | ||
<type>mercedesme:driven-time</type> | ||
</update-channel> | ||
<update-channel id="avg-speed" groupIds="trip"> | ||
<type>mercedesme:avg-speed</type> | ||
</update-channel> | ||
<update-channel id="cons-conv" groupIds="trip"> | ||
<type>mercedesme:consumption-conv</type> | ||
</update-channel> | ||
<update-channel id="distance-reset" groupIds="trip"> | ||
<type>mercedesme:distance-reset</type> | ||
</update-channel> | ||
<update-channel id="time-reset" groupIds="trip"> | ||
<type>mercedesme:driven-time-reset</type> | ||
</update-channel> | ||
<update-channel id="avg-speed-reset" groupIds="trip"> | ||
<type>mercedesme:avg-speed-reset</type> | ||
</update-channel> | ||
<update-channel id="cons-conv-reset" groupIds="trip"> | ||
<type>mercedesme:consumption-conv-reset</type> | ||
</update-channel> | ||
<update-channel id="cons-conv-unit" groupIds="trip"> | ||
<type>mercedesme:consumption-conv-unit</type> | ||
</update-channel> | ||
</instruction-set> | ||
</thing-type> | ||
|
||
</update:update-descriptions> |