Porting iohomecontrol to openHAB