Skip to content

Commit

Permalink
[mcp23017] Standardize config URI (#11010)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored Jul 17, 2021
1 parent 8367aae commit 63b2377
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 63b2377

Please sign in to comment.