I’m wondering how to make a window shutter contact available in Homekit. The documentation does not specifically address window shutter contacts, so I tried Switchable, but this results in
[ERROR] [ssories.AbstractHomekitAccessoryImpl] - Type BedroomWindow_ContactState is a org.eclipse.smarthome.core.library.items.ContactItem instead of the expected org.eclipse.smarthome.core.library.items.SwitchItem
So, has anyone been able to use shutter contacts with Homekit?Could it be an option to simply allow ContactItem to be used for (cast) SwitchItem in the binding?
If I remember well, you need 2.4.0 Snapshot > 1350 to use ItemChannelLink xfroms
So it should? work like this (I haven’t tested it):
Channel sends OPEN, it gets xformed to ON due to the Channel xformation, it gets stored as ON in the Switch Item state and it is displayed as OPEN due to the label xformation. Messy but it should work.