Skip to content

Commit

Permalink
[lgwebos] Switch to default system channel types (openhab#10971)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
  • Loading branch information
lolodomo authored and computergeek1507 committed Jul 13, 2021
1 parent 72a0401 commit 60a8a5c
Showing 1 changed file with 4 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<description>WebOS based smart TV</description>

<channels>
<channel id="power" typeId="powerType"/>
<channel id="mute" typeId="muteType"/>
<channel id="volume" typeId="volumeType"/>
<channel id="power" typeId="system.power"/>
<channel id="mute" typeId="system.mute"/>
<channel id="volume" typeId="system.volume"/>
<channel id="channel" typeId="channelType"/>
<channel id="toast" typeId="toastType"/>
<channel id="mediaPlayer" typeId="mediaPlayerType"/>
<channel id="mediaPlayer" typeId="system.media-control"/>
<channel id="mediaStop" typeId="mediaStopType"/>
<channel id="appLauncher" typeId="appLauncherChannelType"/>
<channel id="rcButton" typeId="rcButtonType"/>
Expand All @@ -33,24 +33,6 @@
<config-description-ref uri="thing-type:lgwebos:WebOSTV"/>
</thing-type>

<channel-type id="powerType">
<item-type>Switch</item-type>
<label>Power</label>
<description>Via this binding TV can only be powered off, not on.</description>
</channel-type>
<channel-type id="muteType">
<item-type>Switch</item-type>
<label>Mute</label>
<description>Current Mute Setting</description>
<category>SoundVolume</category>
</channel-type>
<channel-type id="volumeType">
<item-type>Dimmer</item-type>
<label>Volume</label>
<description>Current Volume Setting</description>
<category>SoundVolume</category>
<state min="0" max="100" step="1"></state>
</channel-type>
<channel-type id="channelType">
<item-type>String</item-type>
<label>Channel</label>
Expand All @@ -61,12 +43,6 @@
<label>Toast</label>
<description>Send a message onto the TV screen.</description>
</channel-type>
<channel-type id="mediaPlayerType">
<item-type>Player</item-type>
<label>Media Control</label>
<description>Control media (e.g. audio or video) playback</description>
<category>MediaControl</category>
</channel-type>
<channel-type id="mediaStopType">
<item-type>Switch</item-type>
<label>Stop</label>
Expand Down

0 comments on commit 60a8a5c

Please sign in to comment.