|
30 | 30 | </channel-groups>
|
31 | 31 |
|
32 | 32 | <properties>
|
33 |
| - <property name="thingTypeVersion">1</property> |
| 33 | + <property name="thingTypeVersion">2</property> |
34 | 34 | </properties>
|
35 | 35 |
|
36 | 36 | <representation-property>serialNumber</representation-property>
|
|
101 | 101 | <label>General Control</label>
|
102 | 102 | <description>General channels for this AVR.</description>
|
103 | 103 | <channels>
|
104 |
| - <channel id="power" typeId="mainPower"/> |
| 104 | + <channel id="power" typeId="system.power"> |
| 105 | + <description>Power ON/OFF the AVR</description> |
| 106 | + </channel> |
105 | 107 | <channel id="surroundProgram" typeId="surroundProgram"/>
|
106 | 108 | <channel id="artist" typeId="artist"/>
|
107 | 109 | <channel id="album" typeId="album"/>
|
|
114 | 116 | <label>Zone Control</label>
|
115 | 117 | <description>Channels for a zone of this AVR.</description>
|
116 | 118 | <channels>
|
117 |
| - <channel id="power" typeId="zonePower"/> |
118 |
| - <channel id="volume" typeId="volume"/> |
| 119 | + <channel id="power" typeId="system.power"> |
| 120 | + <description>Power ON/OFF this zone of the AVR</description> |
| 121 | + </channel> |
| 122 | + <channel id="volume" typeId="system.volume"> |
| 123 | + <description>Set the volume level of this zone</description> |
| 124 | + </channel> |
119 | 125 | <channel id="volumeDB" typeId="volumeDB"/>
|
120 |
| - <channel id="mute" typeId="mute"/> |
| 126 | + <channel id="mute" typeId="system.mute"> |
| 127 | + <description>Mute audio on this zone of the AVR</description> |
| 128 | + </channel> |
121 | 129 | <channel id="input" typeId="input"/>
|
122 | 130 | </channels>
|
123 | 131 | </channel-group-type>
|
124 | 132 |
|
125 |
| - <channel-type id="mainPower"> |
126 |
| - <item-type>Switch</item-type> |
127 |
| - <label>Power</label> |
128 |
| - <description>Power ON/OFF the AVR</description> |
129 |
| - </channel-type> |
130 |
| - |
131 |
| - <channel-type id="zonePower"> |
132 |
| - <item-type>Switch</item-type> |
133 |
| - <label>Power (zone)</label> |
134 |
| - <description>Power ON/OFF this zone of the AVR</description> |
135 |
| - </channel-type> |
136 |
| - |
137 |
| - <channel-type id="volume"> |
138 |
| - <item-type>Dimmer</item-type> |
139 |
| - <label>Volume</label> |
140 |
| - <description>Set the volume level of this zone</description> |
141 |
| - <category>SoundVolume</category> |
142 |
| - </channel-type> |
143 |
| - |
144 | 133 | <channel-type id="volumeDB" advanced="true">
|
145 | 134 | <item-type unitHint="dB">Number:Dimensionless</item-type>
|
146 | 135 | <label>Volume (dB)</label>
|
|
149 | 138 | <state min="-80" max="18" step="0.5" pattern="%.1f %unit%"/>
|
150 | 139 | </channel-type>
|
151 | 140 |
|
152 |
| - <channel-type id="mute"> |
153 |
| - <item-type>Switch</item-type> |
154 |
| - <label>Mute</label> |
155 |
| - <description>Enable/Disable Mute on this zone of the AVR</description> |
156 |
| - </channel-type> |
157 |
| - |
158 | 141 | <channel-type id="input">
|
159 | 142 | <item-type>String</item-type>
|
160 | 143 | <label>Input Source</label>
|
|
0 commit comments