Include device state in device list query