Skip to content

Commit

Permalink
[mcp23017] Standardize config URI (openhab#11010)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: dw-8 <[email protected]>
  • Loading branch information
lolodomo authored and dw-8 committed Jul 25, 2021
1 parent 4197a34 commit 0ad81ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand All @@ -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>

0 comments on commit 0ad81ca

Please sign in to comment.