]> git.basschouten.com Git - openhab-addons.git/blob
6a2cfa730e87cc7aee0f9e5efdebddf884bedcaa
[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-electric-max-channel">
17                 <item-type>Number:Length</item-type>
18                 <label>Electric Range if Fully Charged</label>
19                 <state pattern="%d %unit%" readOnly="true"/>
20         </channel-type>
21         <channel-type id="range-fuel-channel">
22                 <item-type>Number:Length</item-type>
23                 <label>Fuel Range</label>
24                 <state pattern="%d %unit%" readOnly="true"/>
25         </channel-type>
26         <channel-type id="range-hybrid-channel">
27                 <item-type>Number:Length</item-type>
28                 <label>Hybrid Range</label>
29                 <state pattern="%d %unit%" readOnly="true"/>
30         </channel-type>
31         <channel-type id="range-hybrid-max-channel">
32                 <item-type>Number:Length</item-type>
33                 <label>Hybrid Range if Fully Charged</label>
34                 <state pattern="%d %unit%" readOnly="true"/>
35         </channel-type>
36         <channel-type id="soc-channel">
37                 <item-type>Number:Dimensionless</item-type>
38                 <label>Battery Charge Level</label>
39                 <state pattern="%d %unit%" readOnly="true"/>
40         </channel-type>
41         <channel-type id="soc-max-channel">
42                 <item-type>Number:Power</item-type>
43                 <label>Max Battery Capacity</label>
44                 <state pattern="%.1f %unit%" readOnly="true"/>
45         </channel-type>
46         <channel-type id="remaining-fuel-channel">
47                 <item-type>Number:Volume</item-type>
48                 <label>Remaining Fuel</label>
49                 <state pattern="%d %unit%" readOnly="true"/>
50         </channel-type>
51         <channel-type id="range-radius-electric-channel">
52                 <item-type>Number:Length</item-type>
53                 <label>Electric Range Radius if Fully Charged</label>
54                 <state pattern="%.0f %unit%" readOnly="true"/>
55         </channel-type>
56         <channel-type id="range-radius-electric-max-channel">
57                 <item-type>Number:Length</item-type>
58                 <label>Electric Range Radius</label>
59                 <state pattern="%.0f %unit%" readOnly="true"/>
60         </channel-type>
61         <channel-type id="range-radius-fuel-channel">
62                 <item-type>Number:Length</item-type>
63                 <label>Fuel Range Radius</label>
64                 <state pattern="%.0f %unit%" readOnly="true"/>
65         </channel-type>
66         <channel-type id="range-radius-hybrid-channel">
67                 <item-type>Number:Length</item-type>
68                 <label>Hybrid Range Radius</label>
69                 <state pattern="%.0f %unit%" readOnly="true"/>
70         </channel-type>
71         <channel-type id="range-radius-hybrid-max-channel">
72                 <item-type>Number:Length</item-type>
73                 <label>Hybrid Range Radius if Fully Charged</label>
74                 <state pattern="%.0f %unit%" readOnly="true"/>
75         </channel-type>
76 </thing:thing-descriptions>