[mcp23017] Standardize config URI (#11010)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-07-17 23:37:44 +02:00 committed by GitHub
parent 8367aaebc1
commit 63b2377712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>