mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[sonyprojector] Switch to the default system channel type for power channel (#10970)
Set semantics to the powerstate channel type Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
1f92039145
commit
29acaf6246
@ -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>
|
||||
|
||||
|
@ -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"/>
|
||||
|
@ -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"/>
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user