OK sorry to get off topic. So I figured out that if I turn the light switch on at the device, the status does not change on the ISY unless I query that device then the status shows on.
So the insteon devices automatically show their changed state on the ISY without query 'ing them but the Zwave devices do not. That's why the program did not work with the Zwave devices.
Is there a way to show the state or status of Zwave devices without have to query them to get their new state?