From 1def184deeb55e05d304153293a7226ea4c0aaed Mon Sep 17 00:00:00 2001 From: Doug Culnane <32482395+dougculnane@users.noreply.github.com> Date: Mon, 16 May 2022 22:08:41 +0200 Subject: [PATCH] [renault] Small English text fix. Add missing config parameter to README. (#12755) * [renault] Add German translations and small english text fixes. Add missing config parameter to README. * [renault] Remove German translations. * [renault] Make config with default and english text sources of truth consistent. Signed-off-by: Doug Culnane --- bundles/org.openhab.binding.renault/README.md | 1 + .../binding/renault/internal/RenaultConfiguration.java | 2 +- .../src/main/resources/OH-INF/i18n/renault.properties | 2 +- .../src/main/resources/OH-INF/thing/thing-types.xml | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.renault/README.md b/bundles/org.openhab.binding.renault/README.md index 864c1ff22..90097ec9b 100644 --- a/bundles/org.openhab.binding.renault/README.md +++ b/bundles/org.openhab.binding.renault/README.md @@ -30,6 +30,7 @@ You require your MyRenault credential, locale and VIN for your MyRenault registe | vin | Vehicle Identification Number. | yes | | refreshInterval | Interval the car is polled in minutes. | no | | updateDelay | How long to wait for commands to reach car and update to server in seconds.| no | +| kamereonApiKey | Kamereon API Key. | no | ## Channels diff --git a/bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/RenaultConfiguration.java b/bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/RenaultConfiguration.java index f6c90520c..95e353a9b 100644 --- a/bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/RenaultConfiguration.java +++ b/bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/RenaultConfiguration.java @@ -28,5 +28,5 @@ public class RenaultConfiguration { public String vin = ""; public int refreshInterval = 10; public int updateDelay = 30; - public String kamereonApiKey = ""; + public String kamereonApiKey = "VAX7XYKGfa92yMvXculCkEFyfZbuM7Ss"; } diff --git a/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/i18n/renault.properties b/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/i18n/renault.properties index 9e5b4213c..eaa5b9e84 100644 --- a/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/i18n/renault.properties +++ b/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/i18n/renault.properties @@ -46,7 +46,7 @@ thing-type.config.renault.car.myRenaultUsername.label = MyRenault Username thing-type.config.renault.car.refreshInterval.label = Refresh Interval thing-type.config.renault.car.refreshInterval.description = Interval the car is polled in minutes. thing-type.config.renault.car.updateDelay.label = Update Delay -thing-type.config.renault.car.updateDelay.description = How long to wait for commands to reach car and update to server in seconds. +thing-type.config.renault.car.updateDelay.description = How long to wait for commands to reach the car and update to server in seconds. thing-type.config.renault.car.vin.label = VIN thing-type.config.renault.car.vin.description = Vehicle Identification Number thing-type.config.renault.car.kamereonApiKey.label = Kamereon API Key diff --git a/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/thing/thing-types.xml index 04152e6c5..cd2eb522d 100644 --- a/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.renault/src/main/resources/OH-INF/thing/thing-types.xml @@ -80,10 +80,10 @@ - How long to wait for commands to reach car and update to server in seconds. + How long to wait for commands to reach the car and update to server in seconds. 30 - + Access code for MyRenault Services. VAX7XYKGfa92yMvXculCkEFyfZbuM7Ss