Keep track of chip_id and use it when retrieving switch states.