Skip to content

Commit

Permalink
Revert "[mcp23017] Standardize config URI (openhab#11010)"
Browse files Browse the repository at this point in the history
This reverts commit 6d51a28.
  • Loading branch information
dw-8 committed Jul 25, 2021
1 parent c2f620a commit bf71a98
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:mcp23017:input_pin">
<config-description uri="channel-type:input_pin:config">
<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:mcp23017:output_pin">
<config-description uri="channel-type:output_pin:config">
<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:mcp23017:input_pin"/>
<config-description-ref uri="channel-type:input_pin:config"/>
</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:mcp23017:output_pin"/>
<config-description-ref uri="channel-type:output_pin:config"/>
</channel-type>

</thing:thing-descriptions>

0 comments on commit bf71a98

Please sign in to comment.