Related to #12712
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
case "Number":
return new DecimalType(value);
case "Switch":
- case "system.power":
return Integer.parseInt(value) > 0 ? OnOffType.ON : OnOffType.OFF;
case "Number:Dimensionless":
switch (channelID) {
</thing-type>
<channel-type id="waterFlow">
- <item-type>system.power</item-type>
+ <item-type>Switch</item-type>
<label>Flow Sensor</label>
<description>Flow Sensor</description>
<state readOnly="true"/>
</channel-type>
<channel-type id="enable">
- <item-type>system.power</item-type>
+ <item-type>Switch</item-type>
<label>Heater Enable</label>
<description>Heater Enable</description>
<state readOnly="true"/>