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>
10 <channel-type id="service-details-channel">
11 <item-type>String</item-type>
12 <label>Service Details</label>
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"/>
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%"/>
24 </thing:thing-descriptions>