WebThingsIO / zwave-adapter

Z-Wave adapter add-on for WebThings Gateway
Mozilla Public License 2.0
15 stars 20 forks source link

ZWave adapter classifier regression - Smart Switch 6 classified as a light #67

Closed tlexii closed 5 years ago

tlexii commented 5 years ago

Since this commit classifies any of these types as a bulb, Smart Switch 6 has converted to a bulb (it has coloured leds built in).

case GENERIC_TYPE.SWITCH_BINARY: case GENERIC_TYPE.SWITCH_MULTILEVEL: { if (colorCapabilitiesValueId) { this.initLight(node, colorCapabilitiesValueId, levelValueId); return; }

dhylands commented 5 years ago

This should now be fixed in 0.7.4 of the zwaveadapter

tlexii commented 5 years ago

Thanks