* make VirtualDatapoint belonging ContactSensor for more devices available
---------
Signed-off-by: niclas18 <87126599+niclas18@users.noreply.github.com>
import org.openhab.binding.homematic.internal.model.HmValueType;
/**
- * A virtual datapoint that converts the ENUM state of the HMIP-SWDO device to a contact.
+ * A virtual datapoint that converts the ENUM state of the HMIP-SWD_ devices to a contact.
*
* @author Gerhard Riegler - Initial contribution
*/
}
private boolean isApplicable(HmDevice device) {
- return device.getType().toUpperCase().startsWith("HMIP-SWDO");
+ return device.getType().toUpperCase().startsWith("HMIP-SWD");
}
private Boolean convertState(Object value) {