Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sonyprojector] Switch to the default system channel type for power channel #10970

Merged
merged 1 commit into from
Jul 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">

<channel-type id="power">
<item-type>Switch</item-type>
<label>Power</label>
<description>Power ON/OFF the projector</description>
</channel-type>

<channel-type id="powerstate">
<item-type>String</item-type>
<label>Power State</label>
<description>Current detailed power state of the projector</description>
<tags>
<tag>Status</tag>
<tag>Power</tag>
</tags>
<state readOnly="true"></state>
</channel-type>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Ethernet connection to the Sony projector using PJ Talk</description>

<channels>
<channel id="power" typeId="power"/>
<channel id="power" typeId="system.power"/>
<channel id="powerstate" typeId="powerstate"/>
<channel id="input" typeId="input"/>
<channel id="calibrationpreset" typeId="calibrationpreset"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Serial connection to the Sony projector</description>

<channels>
<channel id="power" typeId="power"/>
<channel id="power" typeId="system.power"/>
<channel id="powerstate" typeId="powerstate"/>
<channel id="input" typeId="input"/>
<channel id="calibrationpreset" typeId="calibrationpreset"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Serial over IP connection to the Sony projector</description>

<channels>
<channel id="power" typeId="power"/>
<channel id="power" typeId="system.power"/>
<channel id="powerstate" typeId="powerstate"/>
<channel id="input" typeId="input"/>
<channel id="calibrationpreset" typeId="calibrationpreset"/>
Expand Down