]> git.basschouten.com Git - openhab-addons.git/blob
3f558b1077f737bc483a9a845fcf65a3022e6ae3
[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="service-name-channel">
7                 <item-type>String</item-type>
8                 <label>Service Name</label>
9         </channel-type>
10         <channel-type id="service-details-channel">
11                 <item-type>String</item-type>
12                 <label>Service Details</label>
13         </channel-type>
14         <channel-type id="service-date-channel">
15                 <item-type>DateTime</item-type>
16                 <label>Service Date</label>
17                 <state pattern="%1$tb %1$tY"/>
18         </channel-type>
19         <channel-type id="service-mileage-channel">
20                 <item-type>Number:Length</item-type>
21                 <label>Mileage till Service</label>
22                 <state pattern="%d %unit%"/>
23         </channel-type>
24 </thing:thing-descriptions>