1 <?xml version="1.0" encoding="UTF-8"?>
2 <thing:thing-descriptions bindingId="bmwconnecteddrive"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
5 xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
6 <channel-type id="total-driven-distance-channel">
7 <item-type>Number:Length</item-type>
8 <label>Total Electric Distance</label>
9 <state pattern="%.0f %unit%" readOnly="true"/>
11 <channel-type id="single-longest-distance-channel">
12 <item-type>Number:Length</item-type>
13 <label>Longest 1-Charge Distance</label>
14 <state pattern="%.0f %unit%" readOnly="true"/>
16 <channel-type id="average-consumption-channel">
17 <item-type>Number:Energy</item-type>
18 <label>Avg. Power Consumption</label>
19 <description>Average Combined Consumption electric power consumption per 100 km/mi</description>
20 <state pattern="%.1f %unit%" readOnly="true"/>
22 <channel-type id="average-recuperation-channel">
23 <item-type>Number:Energy</item-type>
24 <label>Avg. Combined Consumption Recuperation</label>
25 <description>Average electric recuperation per 100 km/mi</description>
26 <state pattern="%.1f %unit%" readOnly="true"/>
28 <channel-type id="average-combined-consumption-channel">
29 <item-type>Number:Volume</item-type>
30 <label>Avg. Combined Consumption</label>
31 <description>Average combined consumption in liter per 100 km/mi</description>
32 <state pattern="%.1f %unit%" readOnly="true"/>
34 </thing:thing-descriptions>