[digitalstrom] Standardize config URI (#11017)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
ee937debbb
commit
82ee00df1b
|
@ -53,11 +53,6 @@ public class DigitalSTROMBindingConstants {
|
|||
public static final String OPTION_COMBINED_FIRST_ON = "90";
|
||||
public static final String OPTION_COMBINED_SECOND_ON = "130";
|
||||
|
||||
/* config URIs */
|
||||
public static final String DEVICE_CONFIG = "binding:digitalstrom:device";
|
||||
public static final String GRAY_DEVICE_CONFIG = "binding:digitalstrom:grayDevice";
|
||||
public static final String DSS_BRIDE_CONFIG = "binding:digitalstrom:dssBridge";
|
||||
|
||||
/* Bridge config properties */
|
||||
|
||||
public static final String HOST = "dSSAddress";
|
||||
|
|
|
@ -82,8 +82,8 @@ public class DsDeviceThingTypeProvider extends BaseDsI18n implements ThingTypePr
|
|||
|
||||
private final Logger logger = LoggerFactory.getLogger(DsDeviceThingTypeProvider.class);
|
||||
|
||||
private final String DEVICE_WITH_POWER_SENSORS = "binding:digitalstrom:deviceWithPowerSensors";
|
||||
private final String DEVICE_WITHOUT_POWER_SENSORS = "binding:digitalstrom:deviceWithoutPowerSensors";
|
||||
private final String DEVICE_WITH_POWER_SENSORS = "thing-type:digitalstrom:deviceWithPowerSensors";
|
||||
private final String DEVICE_WITHOUT_POWER_SENSORS = "thing-type:digitalstrom:deviceWithoutPowerSensors";
|
||||
|
||||
@Activate
|
||||
@Override
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
|
||||
https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
<config-description uri="binding:digitalstrom:dssBridge">
|
||||
<config-description uri="bridge-type:digitalstrom:dssBridge">
|
||||
<parameter-group name="connection">
|
||||
<label>@text/dss_param_group_connection_label</label>
|
||||
<description>@text/dss_param_group_connection_desc</description>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<!-- yellow/black Device -->
|
||||
<config-description uri="binding:digitalstrom:deviceWithPowerSensors">
|
||||
<config-description uri="thing-type:digitalstrom:deviceWithPowerSensors">
|
||||
<parameter-group name="devInfo">
|
||||
<label>@text/device_param_group_info_label</label>
|
||||
<description>@text/device_param_group_info_desc</description>
|
||||
|
@ -55,7 +55,7 @@
|
|||
</parameter>
|
||||
</config-description>
|
||||
<!-- gray Device -->
|
||||
<config-description uri="binding:digitalstrom:deviceWithoutPowerSensors">
|
||||
<config-description uri="thing-type:digitalstrom:deviceWithoutPowerSensors">
|
||||
<parameter name="dSID" type="text" readOnly="true" required="true">
|
||||
<label>@text/device_param_dsid_label</label>
|
||||
<description>@text/device_param_dsid_desc</description>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<properties>
|
||||
<property name="serverCert"></property>
|
||||
</properties>
|
||||
<config-description-ref uri="binding:digitalstrom:dssBridge"/>
|
||||
<config-description-ref uri="bridge-type:digitalstrom:dssBridge"/>
|
||||
</bridge-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
|
|
Loading…
Reference in New Issue