[netatmo] Deprecated tag "required" for configuration parameter (#9035)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
3499acfcf3
commit
3b162f2f92
|
@ -6,69 +6,65 @@
|
|||
https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<config-description uri="thing-type:netatmo:bridge">
|
||||
<parameter name="clientId" type="text">
|
||||
<parameter name="clientId" type="text" required="true">
|
||||
<label>Client ID</label>
|
||||
<description>Client ID provided for the application you created on http://dev.netatmo.com/createapp</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="clientSecret" type="text">
|
||||
<parameter name="clientSecret" type="text" required="true">
|
||||
<label>Client Secret</label>
|
||||
<description>Client Secret provided for the application you created</description>
|
||||
<required>true</required>
|
||||
<context>password</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="username" type="text">
|
||||
<parameter name="username" type="text" required="true">
|
||||
<label>Username</label>
|
||||
<description>Your Netatmo API username (email)</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="password" type="text">
|
||||
<parameter name="password" type="text" required="true">
|
||||
<label>Password</label>
|
||||
<description>Your Netatmo API password</description>
|
||||
<required>true</required>
|
||||
<context>password</context>
|
||||
</parameter>
|
||||
|
||||
<parameter name="readStation" type="boolean" required="true">
|
||||
<parameter name="readStation" type="boolean">
|
||||
<label>Access Weather Station</label>
|
||||
<description>Read weather station's data.</description>
|
||||
<default>true</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="readHealthyHomeCoach" type="boolean" required="true">
|
||||
<parameter name="readHealthyHomeCoach" type="boolean">
|
||||
<label>Access Healthy Home Coach</label>
|
||||
<description>Read healthy home coach's data.</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="readThermostat" type="boolean" required="true">
|
||||
<parameter name="readThermostat" type="boolean">
|
||||
<label>Access Thermostat</label>
|
||||
<description>Read and Write thermostat's data.</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="readWelcome" type="boolean" required="true">
|
||||
<parameter name="readWelcome" type="boolean">
|
||||
<label>Access Welcome Camera</label>
|
||||
<description>Read and Access Welcome camera's data.</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="readPresence" type="boolean" required="true">
|
||||
<parameter name="readPresence" type="boolean">
|
||||
<label>Access Presence Camera</label>
|
||||
<description>Read and Access Presence camera's data.</description>
|
||||
<default>false</default>
|
||||
</parameter>
|
||||
|
||||
<parameter name="webHookUrl" type="text" required="false">
|
||||
<parameter name="webHookUrl" type="text">
|
||||
<label>Webhook Address</label>
|
||||
<description>Protocol, public IP and port to access OH2 server from Internet.</description>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
||||
<parameter name="reconnectInterval" type="integer" unit="s" required="true">
|
||||
<parameter name="reconnectInterval" type="integer" unit="s">
|
||||
<label>Reconnect Interval</label>
|
||||
<description>The reconnection interval to Netatmo API (in s).</description>
|
||||
<default>5400</default>
|
||||
|
@ -78,49 +74,43 @@
|
|||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:netatmo:station">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Equipment ID</label>
|
||||
<description>Id of the Device (mac address)</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:netatmo:plug">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Equipment ID</label>
|
||||
<description>Id of the Device (mac address)</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:netatmo:module">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Module ID</label>
|
||||
<description>Id of the Module</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="parentId" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="parentId" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Device ID</label>
|
||||
<description>Id of the main device</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:netatmo:natherm1">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Module ID</label>
|
||||
<description>Id of the Module</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="parentId" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="parentId" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Device ID</label>
|
||||
<description>Id of the main device</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="setpointDefaultDuration" type="integer" required="false">
|
||||
<parameter name="setpointDefaultDuration" type="integer">
|
||||
<label>Setpoint Duration</label>
|
||||
<description>Default duration of thermostat change when force to max or manual.</description>
|
||||
<default>60</default>
|
||||
|
@ -134,7 +124,7 @@
|
|||
<description>UUID of the home</description>
|
||||
</parameter>
|
||||
|
||||
<parameter name="refreshInterval" type="integer" min="2000" unit="ms" required="false">
|
||||
<parameter name="refreshInterval" type="integer" min="2000" unit="ms">
|
||||
<label>Refresh Interval</label>
|
||||
<description>The refresh interval to poll Netatmo API (in ms).</description>
|
||||
<default>300000</default>
|
||||
|
@ -143,30 +133,26 @@
|
|||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:netatmo:camera">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})">
|
||||
<parameter name="id" type="text" pattern="([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})" required="true">
|
||||
<label>Camera ID</label>
|
||||
<description>Camera MAC Address</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="parentId" type="text">
|
||||
<parameter name="parentId" type="text" required="true">
|
||||
<label>Home ID</label>
|
||||
<description>UUID of the home hosting the camera</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:netatmo:nawelcomeperson">
|
||||
<parameter name="id" type="text">
|
||||
<parameter name="id" type="text" required="true">
|
||||
<label>Person ID</label>
|
||||
<description>UUID of the Person</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
|
||||
<parameter name="parentId" type="text">
|
||||
<parameter name="parentId" type="text" required="true">
|
||||
<label>Home ID</label>
|
||||
<description>UUID of the home</description>
|
||||
<required>true</required>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
|
|
Loading…
Reference in New Issue