[renault] Add instructions for adding channels (#14572)

* Add instruction for adding channel

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2023-03-11 10:55:49 +01:00 committed by GitHub
parent 53bbda267f
commit 75d195465e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -28,6 +28,11 @@
<channel id="locationupdated" typeId="locationupdated"/>
<channel id="locked" typeId="locked"/>
</channels>
<properties>
<property name="thingTypeVersion">1</property>
</properties>
<config-description>
<parameter name="myRenaultUsername" type="text" required="true">

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<update:update-descriptions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:update="https://openhab.org/schemas/update-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/update-description/v1.0.0 https://openhab.org/schemas/update-description-1.0.0.xsd">
<thing-type uid="renault:car">
<instruction-set targetVersion="1">
<add-channel id="batterystatusupdated">
<type>renault:batterystatusupdated</type>
</add-channel>
<add-channel id="locked">
<type>renault:locked</type>
</add-channel>
<add-channel id="pause">
<type>renault:pause</type>
</add-channel>
</instruction-set>
</thing-type>
</update:update-descriptions>