[magentatv] Adapted to OH 3.0 (#8657)

* add representationProperty to thing definition to make it OH3 compatible
* adapted to OH3 (representationProperty added to thing definition)
* as always...spotless:apply :-(

Signed-off-by: Markus Michels <markus7017@gmail.com>
This commit is contained in:
Markus Michels 2020-10-04 20:36:44 +02:00 committed by GitHub
parent ff4d97eb2a
commit 6921f8119c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -9,8 +9,8 @@ thing-type.magentatv.receiver.description = Media Receiver zum Epmfang von Magen
# Thing configuration
thing-type.config.magentatv.receiver.ipAddress.label = IP-Adresse
thing-type.config.magentatv.ipAddress.description = IP Adresse des Media Receivers
thing-type.config.magentatv.receiver.userId.label = User ID
thing-type.config.magentatv.receiver.userId.description = Technische Benutzerkennung, siehe Dokumentation
thing-type.config.magentatv.receiver.userId.label = UID
thing-type.config.magentatv.receiver.userId.description = Technische Benutzerkennung (User ID), siehe Dokumentation; wird automatisch gefüllt, wenn Login-Name und Passwort angegeben sind.
thing-type.config.magentatv.receiver.accountName.label = Login-Name
thing-type.config.magentatv.receiver.accountName.description = Login-Name (E-Mail) zur Anmeldung im Telekom Kundencenter
thing-type.config.magentatv.receiver.accountPassword.label = Passwort

View File

@ -21,6 +21,7 @@
</channel-groups>
<representation-property>macAddress</representation-property>
<config-description uri="thing-type:magentatv:receiver">
<parameter name="ipAddress" type="text">
<label>Device IP Address</label>
@ -28,10 +29,6 @@
<required>true</required>
<context>network-address</context>
</parameter>
<parameter name="userId" type="text">
<label>User ID</label>
<description>Technical User ID required for pairing process</description>
</parameter>
<parameter name="accountName" type="text">
<label>Account Name</label>
<description>Credentials: Login name (e.g. xxx@t-online.de, same as for the Telekom Kundencenter)</description>
@ -41,6 +38,10 @@
<description>Credentials: Account Password (same as for the Telekom Kundencenter)</description>
<context>password</context>
</parameter>
<parameter name="userId" type="text">
<label>User ID</label>
<description>Technical User ID required for pairing process, auto-filled when account credentials are given</description>
</parameter>
<parameter name="udn" type="text">
<label>Unique Device Name</label>
<description>The UDN identifies the Media Receiver</description>