IHC listener error


I am getting this error (see below) and at the same time the reaction from the rule is delayed about 5 sec.
I hope someone can help.

2018-10-28 20:38:21.185 [ERROR] [org.openhab.binding.ihc.ws.IhcClient] - Event listener invoking error

java.lang.NumberFormatException: Can’t convert class org.openhab.binding.ihc.ws.datatypes.WSBooleanValue to NumberItem

at org.openhab.binding.ihc.internal.IhcDataConverter.convertResourceValueToState(IhcDataConverter.java:110) ~[224:org.openhab.binding.ihc:]

at org.openhab.binding.ihc.internal.IhcBinding.resourceValueUpdateReceived(IhcBinding.java:613) ~[224:org.openhab.binding.ihc:]

at org.openhab.binding.ihc.ws.IhcClient$IhcResourceValueNotificationListener.waitResourceNotifications(IhcClient.java:500) [224:org.openhab.binding.ihc:]

at org.openhab.binding.ihc.ws.IhcClient$IhcResourceValueNotificationListener.run(IhcClient.java:476) [224:org.openhab.binding.ihc:]

I think, (i´m not sure), that you have an item which is not linked to the correct source on the IHC controller. I recall I have seen simular error before. And as far as I recall the item was linked wrong.
I´m using the older version of the binding. 1.12.

It looks like you are trying to use a resource id that requires a Switch Item bound to a Number Item.

The Item Configuration section in the docs appear to show which IDs go with which Item Types.