From: Markus Michels Date: Sun, 4 Oct 2020 18:36:44 +0000 (+0200) Subject: [magentatv] Adapted to OH 3.0 (#8657) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=6921f8119c6a42ce197569d09df3364ca88b55d6;p=openhab-addons.git [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 --- diff --git a/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/i18n/magentatv_de.properties b/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/i18n/magentatv_de.properties index 14734cd785..6374fc9c8c 100644 --- a/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/i18n/magentatv_de.properties +++ b/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/i18n/magentatv_de.properties @@ -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 diff --git a/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/thing/thing-types.xml index 6931c13fff..36b0ced037 100644 --- a/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.magentatv/src/main/resources/OH-INF/thing/thing-types.xml @@ -21,6 +21,7 @@ + macAddress @@ -28,10 +29,6 @@ true network-address - - - Technical User ID required for pairing process - Credentials: Login name (e.g. xxx@t-online.de, same as for the Telekom Kundencenter) @@ -41,6 +38,10 @@ Credentials: Account Password (same as for the Telekom Kundencenter) password + + + Technical User ID required for pairing process, auto-filled when account credentials are given + The UDN identifies the Media Receiver