]> git.basschouten.com Git - openhab-addons.git/blob
b289d9bdeca85b7c2bcfce91d1630250012f3464
[openhab-addons.git] /
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="mileage-channel">
7                 <item-type>Number:Length</item-type>
8                 <label>Total Distance Driven</label>
9                 <state pattern="%d %unit%" readOnly="true"/>
10         </channel-type>
11         <channel-type id="range-electric-channel">
12                 <item-type>Number:Length</item-type>
13                 <label>Electric Range</label>
14                 <state pattern="%d %unit%" readOnly="true"/>
15         </channel-type>
16         <channel-type id="range-fuel-channel">
17                 <item-type>Number:Length</item-type>
18                 <label>Fuel Range</label>
19                 <state pattern="%d %unit%" readOnly="true"/>
20         </channel-type>
21         <channel-type id="range-hybrid-channel">
22                 <item-type>Number:Length</item-type>
23                 <label>Hybrid Range</label>
24                 <state pattern="%d %unit%" readOnly="true"/>
25         </channel-type>
26         <channel-type id="soc-channel">
27                 <item-type>Number:Dimensionless</item-type>
28                 <label>Battery Charge Level</label>
29                 <state pattern="%d %unit%" readOnly="true"/>
30         </channel-type>
31         <channel-type id="remaining-fuel-channel">
32                 <item-type>Number:Volume</item-type>
33                 <label>Remaining Fuel</label>
34                 <state pattern="%d %unit%" readOnly="true"/>
35         </channel-type>
36         <channel-type id="range-radius-electric-channel">
37                 <item-type>Number:Length</item-type>
38                 <label>Electric Range Radius</label>
39                 <state pattern="%.0f %unit%" readOnly="true"/>
40         </channel-type>
41         <channel-type id="range-radius-fuel-channel">
42                 <item-type>Number:Length</item-type>
43                 <label>Fuel Range Radius</label>
44                 <state pattern="%.0f %unit%" readOnly="true"/>
45         </channel-type>
46         <channel-type id="range-radius-hybrid-channel">
47                 <item-type>Number:Length</item-type>
48                 <label>Hybrid Range Radius</label>
49                 <state pattern="%.0f %unit%" readOnly="true"/>
50         </channel-type>
51 </thing:thing-descriptions>