HomeKit Binding Error

Hey guys,

I got my HomeKit binding running and the app es finding the items as well. Unfortunately I got the following error in the KARAF Console:

smarthome:homekit allowUnauthenticated <boolean>15:11:42.735 [ERROR] [ssories.AbstractHomekitAccessoryImpl] - Type elro_d_switch is a org.eclipse.smarthome.core.library.items.StringItem instead of the expected org.eclipse.smarthome.core.library.items.SwitchItem

I have a String Item for the Exec binding which is switchable. How can I teach this to the HomeKit binding?

Thank you very much!