[mcp23017] Standardize config URI (#11010)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
8367aaebc1
commit
63b2377712
@ -5,7 +5,7 @@
|
||||
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0
|
||||
https://openhab.org/schemas/config-description-1.0.0.xsd">
|
||||
|
||||
<config-description uri="channel-type:input_pin:config">
|
||||
<config-description uri="channel-type:mcp23017:input_pin">
|
||||
<parameter name="pull_mode" type="text" required="true">
|
||||
<label>PullResistor Mode</label>
|
||||
<description>mcp2317 input pull resistor mode</description>
|
||||
@ -17,7 +17,7 @@
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="channel-type:output_pin:config">
|
||||
<config-description uri="channel-type:mcp23017:output_pin">
|
||||
<parameter name="default_state" type="text" required="true">
|
||||
<label>Default State</label>
|
||||
<description>mcp2317 pin default state (LOW, HIGH)</description>
|
||||
|
||||
@ -58,7 +58,7 @@
|
||||
<description>channel type for MCP23017 pin in DIGITAL_INPUT mode (contact)</description>
|
||||
<category>Contact</category>
|
||||
<state readOnly="false"/>
|
||||
<config-description-ref uri="channel-type:input_pin:config"/>
|
||||
<config-description-ref uri="channel-type:mcp23017:input_pin"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="output_pin">
|
||||
@ -67,7 +67,7 @@
|
||||
<description>channel type for MCP23017 pin in DIGITAL_INPUT mode (switch)</description>
|
||||
<category>Switch</category>
|
||||
<state readOnly="true"/>
|
||||
<config-description-ref uri="channel-type:output_pin:config"/>
|
||||
<config-description-ref uri="channel-type:mcp23017:output_pin"/>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user