]> git.basschouten.com Git - openhab-addons.git/commitdiff
[renault] Small English text fix. Add missing config parameter to README. (#12755)
authorDoug Culnane <32482395+dougculnane@users.noreply.github.com>
Mon, 16 May 2022 20:08:41 +0000 (22:08 +0200)
committerGitHub <noreply@github.com>
Mon, 16 May 2022 20:08:41 +0000 (22:08 +0200)
* [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 <doug@culnane.net>
bundles/org.openhab.binding.renault/README.md
bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/RenaultConfiguration.java
bundles/org.openhab.binding.renault/src/main/resources/OH-INF/i18n/renault.properties
bundles/org.openhab.binding.renault/src/main/resources/OH-INF/thing/thing-types.xml

index 864c1ff226b38d0e74f800b8c7ffc290e8fcd48d..90097ec9b9c7669778069ed0378cadaca9463bbc 100644 (file)
@@ -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
index f6c90520c6c1ea6511691d715dfbfc904f5c07ef..95e353a9bb9613770538a1597536d160dfe39b2f 100644 (file)
@@ -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";
 }
index 9e5b4213c54bcae045283db351c3f1ae5c76448b..eaa5b9e84f03a739b0319945f2d92c4b3ec6ebc9 100644 (file)
@@ -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
index 04152e6c5b35594adb172acdb1a3d77be680a7db..cd2eb522df7f595bd99a0748628bc6e785863fbd 100644 (file)
                        </parameter>
                        <parameter name="updateDelay" type="integer" unit="s" min="5" max="120">
                                <label>Update Delay</label>
-                               <description>How long to wait for commands to reach car and update to server in seconds.</description>
+                               <description>How long to wait for commands to reach the car and update to server in seconds.</description>
                                <default>30</default>
                        </parameter>
-                       <parameter name="kamereonApiKey" type="text" required="true">
+                       <parameter name="kamereonApiKey" type="text">
                                <label>Kamereon API Key</label>
                                <description>Access code for MyRenault Services.</description>
                                <default>VAX7XYKGfa92yMvXculCkEFyfZbuM7Ss</default>