mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[mercedesme] Fix trip channel type id (#17267)
* bugfix trip channel naming Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
72569f1104
commit
91e95268e6
@ -20,12 +20,16 @@
|
||||
<channel-group id="hvac" typeId="hvac-values"/>
|
||||
<channel-group id="service" typeId="service-values"/>
|
||||
<channel-group id="range" typeId="range-conv-values"/>
|
||||
<channel-group id="trip" typeId="trip-values"/>
|
||||
<channel-group id="trip" typeId="trip-conv-values"/>
|
||||
<channel-group id="position" typeId="position-values"/>
|
||||
<channel-group id="tires" typeId="tires-values"/>
|
||||
<channel-group id="command" typeId="command-values"/>
|
||||
</channel-groups>
|
||||
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<config-description-ref uri="thing-type:mercedesme:conv"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
|
@ -27,6 +27,10 @@
|
||||
<channel-group id="command" typeId="command-values"/>
|
||||
</channel-groups>
|
||||
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
|
||||
<config-description-ref uri="thing-type:mercedesme:hybrid"/>
|
||||
</thing-type>
|
||||
</thing:thing-descriptions>
|
||||
|
@ -13,7 +13,7 @@
|
||||
<channel id="distance-reset" typeId="distance-reset"/>
|
||||
<channel id="time-reset" typeId="driven-time-reset"/>
|
||||
<channel id="avg-speed-reset" typeId="avg-speed-reset"/>
|
||||
<channel id="cons-conv-reset" typeId="consumption-conv-resetchannel"/>
|
||||
<channel id="cons-conv-reset" typeId="consumption-conv-reset"/>
|
||||
<channel id="cons-conv-unit" typeId="consumption-conv-unit"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<channel id="time-reset" typeId="driven-time-reset"/>
|
||||
<channel id="avg-speed-reset" typeId="avg-speed-reset"/>
|
||||
<channel id="cons-ev-reset" typeId="consumption-ev-reset"/>
|
||||
<channel id="cons-conv-reset" typeId="consumption-conv-resetchannel"/>
|
||||
<channel id="cons-conv-reset" typeId="consumption-conv-reset"/>
|
||||
<channel id="cons-ev-unit" typeId="consumption-ev-unit"/>
|
||||
<channel id="cons-conv-unit" typeId="consumption-conv-unit"/>
|
||||
</channels>
|
||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user